From 51590a03b5dffbe004852edfd76d06ac94701110 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 11 Nov 2005 13:40:51 +0000 Subject: [PATCH] extend mkdep fix (fixes #36) SVN-Revision: 2414 --- .../linux-2.4/patches/generic/209-mkdep_fix.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) 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