add new ppp timeout/redial stuff from [2433] to pptp init script
[oweals/openwrt.git] / openwrt / target / linux / linux-2.4 / patches / generic / 209-mkdep_fix.patch
1 --- linux.old/Rules.make        2005-08-31 00:37:34.363109288 +0200
2 +++ linux.dev/Rules.make        2005-08-31 13:59:20.140676296 +0200
3 @@ -126,7 +126,7 @@
4  # This make dependencies quickly
5  #
6  fastdep: dummy
7 -       $(TOPDIR)/scripts/mkdep $(CFLAGS) $(EXTRA_CFLAGS_nostdinc) -- $(wildcard *.[chS]) > .depend
8 +       find -name '*.[chS]' | xargs $(TOPDIR)/scripts/mkdep $(CFLAGS) $(EXTRA_CFLAGS_nostdinc) -- > .depend
9  ifdef ALL_SUB_DIRS
10         $(MAKE) $(patsubst %,_sfdep_%,$(ALL_SUB_DIRS)) _FASTDEP_ALL_SUB_DIRS="$(ALL_SUB_DIRS)"
11  endif
12 --- linux-2.4.30/Makefile.old   2005-11-11 14:27:55.878482250 +0100
13 +++ linux-2.4.30/Makefile       2005-11-11 14:28:57.926360000 +0100
14 @@ -509,7 +509,7 @@
15  ifdef CONFIG_MODVERSIONS
16         $(MAKE) update-modverfile
17  endif
18 -       scripts/mkdep -- `find $(FINDHPATH) \( -name SCCS -o -name .svn \) -prune -o -follow -name \*.h ! -name modversions.h -print` > .hdepend
19 +       find $(FINDHPATH) \( -name SCCS -o -name .svn \) -prune -o -follow -name \*.h ! -name modversions.h -print | xargs scripts/mkdep -- > .hdepend
20         scripts/mkdep -- init/*.c > .depend
21  
22  ifdef CONFIG_MODVERSIONS