aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2006-04-02 01:25:05 +0000
committerNicolas Thill <nico@openwrt.org>2006-04-02 01:25:05 +0000
commitf330abe56e60e40d85b24f85cd60af8918689b28 (patch)
tree51ca6b31a9c2619bc86c8247ad857876043c12c4 /target
parent82cc6b3a19ec20cc47eb5be162acee29a4b2de3e (diff)
downloadmaster-187ad058-f330abe56e60e40d85b24f85cd60af8918689b28.tar.gz
master-187ad058-f330abe56e60e40d85b24f85cd60af8918689b28.tar.bz2
master-187ad058-f330abe56e60e40d85b24f85cd60af8918689b28.zip
fix kmod-fuse build on 2.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3577 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/package/fuse/patches/101-kmod_build.patch6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/package/fuse/patches/101-kmod_build.patch b/target/linux/package/fuse/patches/101-kmod_build.patch
index feed52aef3..e541d47142 100644
--- a/target/linux/package/fuse/patches/101-kmod_build.patch
+++ b/target/linux/package/fuse/patches/101-kmod_build.patch
@@ -25,13 +25,15 @@ diff -Nur fuse-2.5.2/kernel/Makefile.in fuse-2.5.2.patched/kernel/Makefile.in
fuse_headers = fuse_i.h fuse_kernel.h
dev.o: $(fuse_headers)
-@@ -78,6 +63,16 @@
+@@ -78,6 +63,18 @@
file.o: $(fuse_headers)
inode.o: $(fuse_headers)
+EXTRA_CFLAGS += -DFUSE_VERSION=\"$(VERSION)\"
+
-+obj-m := $(fuse_objs)
++O_TARGET := fuse.o
++
++obj-y := $(fuse_objs)
+obj-m := $(O_TARGET)
+
+-include $(TOPDIR)/Rules.make