[oe-commits] org.oe.dev Unslung: fuse-module - add old fuse module; this is the last fuse version that worked on

mwester commit openembedded-commits at lists.openembedded.org
Sun Feb 10 02:53:42 UTC 2008


Unslung: fuse-module - add old fuse module; this is the last fuse version that worked on
the old 2.4 kernels.

Author: mwester at openembedded.org
Branch: org.openembedded.dev
Revision: 9bbcf717a4ce1a0204932f0eecf17d6792e8a0f1
ViewMTN: http://monotone.openembedded.org/revision/info/9bbcf717a4ce1a0204932f0eecf17d6792e8a0f1
Files:
1
packages/fuse/fuse-module-2.5.3
packages/fuse/fuse-module-2.5.3/preserve_CC_with_2_4_kernel.patch
packages/fuse/fuse-module_2.5.3.bb
Diffs:

#
# mt diff -r77996659c28397cadfd68035b9cc6ebb406730b4 -r9bbcf717a4ce1a0204932f0eecf17d6792e8a0f1
#
# 
# 
# add_dir "packages/fuse/fuse-module-2.5.3"
# 
# add_file "packages/fuse/fuse-module-2.5.3/preserve_CC_with_2_4_kernel.patch"
#  content [58653fb90ef7157df5508a85b4c9df3c805dfc09]
# 
# add_file "packages/fuse/fuse-module_2.5.3.bb"
#  content [496f6d970646c70b509c66d2f3b2d963418af819]
# 
============================================================
--- packages/fuse/fuse-module-2.5.3/preserve_CC_with_2_4_kernel.patch	58653fb90ef7157df5508a85b4c9df3c805dfc09
+++ packages/fuse/fuse-module-2.5.3/preserve_CC_with_2_4_kernel.patch	58653fb90ef7157df5508a85b4c9df3c805dfc09
@@ -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 at kernelsrc@/include -I. -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DFUSE_VERSION=\"$(VERSION)\" @KERNELCPPFLAGS@
+ 
============================================================
--- packages/fuse/fuse-module_2.5.3.bb	496f6d970646c70b509c66d2f3b2d963418af819
+++ packages/fuse/fuse-module_2.5.3.bb	496f6d970646c70b509c66d2f3b2d963418af819
@@ -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}
+}
+






More information about the Openembedded-commits mailing list