diff options
author | Mike Westerhof <mwester@dls.net> | 2008-02-10 02:45:37 +0000 |
---|---|---|
committer | Mike Westerhof <mwester@dls.net> | 2008-02-10 02:45:37 +0000 |
commit | ee7316097667fbbcd4afec5e190bfdb0ba5333f8 (patch) | |
tree | a415b8662e21a21a5e80f5b9c9b7397fdc478172 /packages | |
parent | 63bd29895b172a2f9e7deb9fb7096d0df47487ff (diff) |
Unslung: fuse-module - add old fuse module; this is the last fuse version that worked on
the old 2.4 kernels.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/fuse/fuse-module-2.5.3/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/fuse/fuse-module-2.5.3/preserve_CC_with_2_4_kernel.patch | 11 | ||||
-rw-r--r-- | packages/fuse/fuse-module_2.5.3.bb | 31 |
3 files changed, 42 insertions, 0 deletions
diff --git a/packages/fuse/fuse-module-2.5.3/.mtn2git_empty b/packages/fuse/fuse-module-2.5.3/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/fuse/fuse-module-2.5.3/.mtn2git_empty diff --git a/packages/fuse/fuse-module-2.5.3/preserve_CC_with_2_4_kernel.patch b/packages/fuse/fuse-module-2.5.3/preserve_CC_with_2_4_kernel.patch new file mode 100644 index 0000000000..05619d557c --- /dev/null +++ b/packages/fuse/fuse-module-2.5.3/preserve_CC_with_2_4_kernel.patch @@ -0,0 +1,11 @@ +--- fuse-2.5.3/kernel/Makefile.in.orig 2008-01-05 20:43:00.000000000 -0600 ++++ fuse-2.5.3/kernel/Makefile.in 2008-01-05 20:43:25.000000000 -0600 +@@ -54,8 +54,6 @@ + + ifeq ($(majver), 2.4) + +-CC = gcc +-LD = ld + CFLAGS = -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -pipe @KERNELCFLAGS@ + CPPFLAGS = -I@kernelsrc@/include -I. -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DFUSE_VERSION=\"$(VERSION)\" @KERNELCPPFLAGS@ + diff --git a/packages/fuse/fuse-module_2.5.3.bb b/packages/fuse/fuse-module_2.5.3.bb new file mode 100644 index 0000000000..f707888c94 --- /dev/null +++ b/packages/fuse/fuse-module_2.5.3.bb @@ -0,0 +1,31 @@ +require fuse.inc + +PR = "r0" + +SRC_URI += "file://preserve_CC_with_2_4_kernel.patch;patch=1" + +S = "${WORKDIR}/fuse-${PV}" + +FILES_${PN} = "${base_libdir}/modules" + +EXTRA_OECONF = " --enable-kernel-module --with-kernel=${STAGING_KERNEL_DIR}" + +inherit module + +do_configure() { + cd ${S} + oe_runconf +} + +do_compile(){ + LDFLAGS="" + cd ${S}/kernel + oe_runmake +} + +fakeroot do_install() { + LDFLAGS="" + cd ${S}/kernel + oe_runmake install DESTDIR=${D} +} + |