Unslung: fuse-module - add old fuse module; this is the last fuse version that worked on
authorMike Westerhof <mwester@dls.net>
Sun, 10 Feb 2008 02:45:37 +0000 (02:45 +0000)
committerMike Westerhof <mwester@dls.net>
Sun, 10 Feb 2008 02:45:37 +0000 (02:45 +0000)
the old 2.4 kernels.

packages/fuse/fuse-module-2.5.3/.mtn2git_empty [new file with mode: 0644]
packages/fuse/fuse-module-2.5.3/preserve_CC_with_2_4_kernel.patch [new file with mode: 0644]
packages/fuse/fuse-module_2.5.3.bb [new file with mode: 0644]

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 (file)
index 0000000..e69de29
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 (file)
index 0000000..05619d5
--- /dev/null
@@ -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 (file)
index 0000000..f707888
--- /dev/null
@@ -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}
+}
+