1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-14 09:44:39 +02:00
openwrt-xburst/openwrt/target/linux/linux-2.4/patches/generic/209-mkdep_fix.patch
nbd d89e6bd947 fix 'argument list too long' error in mkdep
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-08-31 12:06:32 +00:00

12 lines
508 B
Diff

--- 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