aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-08-31 12:06:32 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-08-31 12:06:32 +0000
commit89ec1db5bdd7788694e97a271a5aa15b00088786 (patch)
tree6d77027af4d697ce75b8b48d2088b21185454be2 /target/linux
parent3225e2d59cf293c5c65ec1e9b01f7477448f150f (diff)
downloadupstream-89ec1db5bdd7788694e97a271a5aa15b00088786.tar.gz
upstream-89ec1db5bdd7788694e97a271a5aa15b00088786.tar.bz2
upstream-89ec1db5bdd7788694e97a271a5aa15b00088786.zip
fix 'argument list too long' error in mkdep
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1807 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/linux-2.4/patches/generic/209-mkdep_fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/linux-2.4/patches/generic/209-mkdep_fix.patch b/target/linux/linux-2.4/patches/generic/209-mkdep_fix.patch
new file mode 100644
index 0000000000..c1e18a0443
--- /dev/null
+++ b/target/linux/linux-2.4/patches/generic/209-mkdep_fix.patch
@@ -0,0 +1,11 @@
+--- linux.old/Rules.make 2005-08-31 00:37:34.363109288 +0200
++++ linux.dev/Rules.make 2005-08-31 13:59:20.140676296 +0200
+@@ -126,7 +126,7 @@
+ # This make dependencies quickly
+ #
+ fastdep: dummy
+- $(TOPDIR)/scripts/mkdep $(CFLAGS) $(EXTRA_CFLAGS_nostdinc) -- $(wildcard *.[chS]) > .depend
++ find -name '*.[chS]' | xargs $(TOPDIR)/scripts/mkdep $(CFLAGS) $(EXTRA_CFLAGS_nostdinc) -- > .depend
+ ifdef ALL_SUB_DIRS
+ $(MAKE) $(patsubst %,_sfdep_%,$(ALL_SUB_DIRS)) _FASTDEP_ALL_SUB_DIRS="$(ALL_SUB_DIRS)"
+ endif