patches/linux/2.4.26/150-linux-2.4.26-mkdep-xargs.patch
changeset 847 af75fc1fe0fc
parent 846 23d2d8defa03
child 848 5b3785e0d41d
     1.1 --- a/patches/linux/2.4.26/150-linux-2.4.26-mkdep-xargs.patch	Fri Sep 05 16:15:34 2008 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,28 +0,0 @@
     1.4 -About ten times, various people have noticed that 'make dep' uses
     1.5 -really, really long commandlines.  This breaks sh even on linux sometimes.
     1.6 -
     1.7 -For 2.4, see e.g.
     1.8 -http://marc.theaimsgroup.com/?l=linux-kernel&m=96589814004919&w=2
     1.9 -http://marc.theaimsgroup.com/?l=linux-kernel&m=96589814004919&q=p3
    1.10 -http://www.xraylith.wisc.edu/~khan/software/gnu-win32/cygwin-to-linux-cross-howto.txt
    1.11 -http://www.uclinux.org/pub/uClinux/archive/1728.html
    1.12 -
    1.13 -Fixes error when building linux kernel for some default arm configurations:
    1.14 -
    1.15 -scripts/mkdep -- `find /home/dank/wk/crosstool-0.28-rc36/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/linux-2.4.26/include/asm /home/dank/wk/crosstool-0.28-rc36/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/linux-2.4.26/include/linux /home/dank/wk/crosstool-0.28-rc36/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/linux-2.4.26/include/scsi /home/dank/wk/crosstool-0.28-rc36/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/linux-2.4.26/include/net /home/dank/wk/crosstool-0.28-rc36/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/linux-2.4.26/include/math-emu \( -name SCCS -o -name .svn \) -prune -o -follow -name \*.h ! -name modversions.h -print` > .hdepend
    1.16 -/bin/sh: line 1: scripts/mkdep: Argument list too long
    1.17 -make: *** [dep-files] Error 126
    1.18 -
    1.19 -[ For linux-2.4.26 ]
    1.20 -
    1.21 ---- linux-2.4.26/Makefile.old	2004-04-14 06:05:41.000000000 -0700
    1.22 -+++ linux-2.4.26/Makefile	2004-09-13 21:27:39.000000000 -0700
    1.23 -@@ -500,7 +500,7 @@
    1.24 - ifdef CONFIG_MODVERSIONS
    1.25 - 	$(MAKE) update-modverfile
    1.26 - endif
    1.27 --	scripts/mkdep -- `find $(FINDHPATH) \( -name SCCS -o -name .svn \) -prune -o -follow -name \*.h ! -name modversions.h -print` > .hdepend
    1.28 -+	find $(FINDHPATH) \( -name SCCS -o -name .svn \) -prune -o -follow -name \*.h ! -name modversions.h -print | xargs scripts/mkdep | cat > .hdepend
    1.29 - 	scripts/mkdep -- init/*.c > .depend
    1.30 - 
    1.31 - ifdef CONFIG_MODVERSIONS