diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2004-08-31 00:34:05 +0200 |
---|---|---|
committer | Tom Rini <trini@kernel.crashing.org> | 2004-08-31 00:34:05 +0200 |
commit | ff2c93314d761a181874e6efee83fab972159237 (patch) | |
tree | fcddeb7e21c15ab4fbb8e2ccb67e1a8bc3694859 /scripts | |
parent | 3887929c9e7c41fed02ca0fc4537e09d26690e49 (diff) | |
download | history-ff2c93314d761a181874e6efee83fab972159237.tar.gz |
kbuild: fix stage 2 of module build
When building allmodconfig the following error were seen:
scripts/Makefile.modpost:86: target `fs/nls/nls_koi8-ru.ko' given more than once in the same rule.
This happened for all modules with 'ko' inside their name.
This bug were introduced when head ... were replaced by grep.
Signed off by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.modpost | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.modpost b/scripts/Makefile.modpost index 57fa4dab2b4617..b3d31b559ad843 100644 --- a/scripts/Makefile.modpost +++ b/scripts/Makefile.modpost @@ -41,7 +41,7 @@ include scripts/Makefile.lib symverfile := $(objtree)/Module.symvers # Step 1), find all modules listed in $(MODVERDIR)/ -__modules := $(sort $(shell grep -h .ko /dev/null $(wildcard $(MODVERDIR)/*.mod))) +__modules := $(sort $(shell grep -h '\.ko' /dev/null $(wildcard $(MODVERDIR)/*.mod))) modules := $(patsubst %.o,%.ko, $(wildcard $(__modules:.ko=.o))) _modpost: $(modules) |