summaryrefslogtreecommitdiff
path: root/openwrt
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
commit28326be62396d85d2c7e4433697bff92bf91bbcd (patch)
tree6a1eb75197422815dab96ef62bbd9c0e464c0f30 /openwrt
parentdd9bc6cce05dc0f3c0346eb42730015cf2a9eba2 (diff)
downloadmtk-20170518-28326be62396d85d2c7e4433697bff92bf91bbcd.zip
mtk-20170518-28326be62396d85d2c7e4433697bff92bf91bbcd.tar.gz
mtk-20170518-28326be62396d85d2c7e4433697bff92bf91bbcd.tar.bz2
fix 'argument list too long' error in mkdep
SVN-Revision: 1807
Diffstat (limited to 'openwrt')
-rw-r--r--openwrt/target/linux/linux-2.4/patches/generic/209-mkdep_fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/openwrt/target/linux/linux-2.4/patches/generic/209-mkdep_fix.patch b/openwrt/target/linux/linux-2.4/patches/generic/209-mkdep_fix.patch
new file mode 100644
index 0000000..c1e18a0
--- /dev/null
+++ b/openwrt/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