diff options
author | Greg Banks <gnb@sgi.com> | 2006-10-17 03:10:30 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-17 11:18:48 -0400 |
commit | 3f3fd3c055853d11295a1ec6cdc81e37e2182d16 (patch) | |
tree | 1a0c01f2b35d5fe773b1b204ce10808ca6a0c9ae /scripts/Makefile.modpost | |
parent | dabad0568a5935e9f4903f5fd1d8f22b1c7c88c7 (diff) |
[PATCH] kbuild: allow multi-word $M in Makefile.modpost
Some people want to do crazy things like pass multiple directories as the
value of $(SUBDIRS) or $M. Mostly this kinda works, except that
Makefile.modpost constructs a modpost commandline which fails modpost's
argument parsing. This patch fixes that little wrinkle.
Signed-off-by: Greg Banks <gnb@melbourne.sgi.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'scripts/Makefile.modpost')
-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 6c5469b1473b..65e0a79c36cf 100644 --- a/scripts/Makefile.modpost +++ b/scripts/Makefile.modpost | |||
@@ -44,7 +44,7 @@ include scripts/Kbuild.include | |||
44 | include scripts/Makefile.lib | 44 | include scripts/Makefile.lib |
45 | 45 | ||
46 | kernelsymfile := $(objtree)/Module.symvers | 46 | kernelsymfile := $(objtree)/Module.symvers |
47 | modulesymfile := $(KBUILD_EXTMOD)/Module.symvers | 47 | modulesymfile := $(firstword $(KBUILD_EXTMOD))/Module.symvers |
48 | 48 | ||
49 | # Step 1), find all modules listed in $(MODVERDIR)/ | 49 | # Step 1), find all modules listed in $(MODVERDIR)/ |
50 | __modules := $(sort $(shell grep -h '\.ko' /dev/null $(wildcard $(MODVERDIR)/*.mod))) | 50 | __modules := $(sort $(shell grep -h '\.ko' /dev/null $(wildcard $(MODVERDIR)/*.mod))) |