From: Mike Westerhof Date: Sun, 10 Feb 2008 02:45:37 +0000 (+0000) Subject: Unslung: fuse-module - add old fuse module; this is the last fuse version that worked on X-Git-Tag: Release-2010-05/1~7696^2~11^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee7316097667fbbcd4afec5e190bfdb0ba5333f8;p=openembedded.git Unslung: fuse-module - add old fuse module; this is the last fuse version that worked on the old 2.4 kernels. --- 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 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} +} +