From: nbd Date: Fri, 11 Nov 2005 13:40:51 +0000 (+0000) Subject: extend mkdep fix (fixes #36) X-Git-Tag: fast2504n-3.10.28-merged~23905 X-Git-Url: https://git.enpas.org/?a=commitdiff_plain;h=5c4129fd8ca56a98b749315fe70b16347c750e05;p=openwrt.git extend mkdep fix (fixes #36) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2414 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 index c1e18a0443..a43d1d2fe4 100644 --- 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 @@ -9,3 +9,14 @@ ifdef ALL_SUB_DIRS $(MAKE) $(patsubst %,_sfdep_%,$(ALL_SUB_DIRS)) _FASTDEP_ALL_SUB_DIRS="$(ALL_SUB_DIRS)" endif +--- linux-2.4.30/Makefile.old 2005-11-11 14:27:55.878482250 +0100 ++++ linux-2.4.30/Makefile 2005-11-11 14:28:57.926360000 +0100 +@@ -509,7 +509,7 @@ + ifdef CONFIG_MODVERSIONS + $(MAKE) update-modverfile + endif +- scripts/mkdep -- `find $(FINDHPATH) \( -name SCCS -o -name .svn \) -prune -o -follow -name \*.h ! -name modversions.h -print` > .hdepend ++ find $(FINDHPATH) \( -name SCCS -o -name .svn \) -prune -o -follow -name \*.h ! -name modversions.h -print | xargs scripts/mkdep -- > .hdepend + scripts/mkdep -- init/*.c > .depend + + ifdef CONFIG_MODVERSIONS