diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-08-08 14:43:39 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@neptun.ravnborg.org> | 2006-09-25 03:01:49 -0400 |
commit | 12715d20af9fd9179daca7a1cd2cf3db3c2c494f (patch) | |
tree | 0dc3e2a0523fb20eb01c1a5b38d13b93acd50cfe /scripts/Makefile | |
parent | 9e157a5aa899f1ef73780e4755b57ddeb9225079 (diff) |
kbuild: modpost on vmlinux regardless of CONFIG_MODULES
Based on patch from: Magnus Damm <magnus@valinux.co.jp>
This has the advantage that all section mismatch checks are run regardless
of modules being enabled or not.
When running modpost on vmlinux output:
MODPOST vmlinux
When running modpost on modules output count of modules like this:
MODPOST 5 modules
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/Makefile')
-rw-r--r-- | scripts/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile b/scripts/Makefile index d531a1fcef0c..ea41de8fb7f5 100644 --- a/scripts/Makefile +++ b/scripts/Makefile | |||
@@ -19,7 +19,7 @@ always := $(hostprogs-y) | |||
19 | hostprogs-y += unifdef | 19 | hostprogs-y += unifdef |
20 | 20 | ||
21 | subdir-$(CONFIG_MODVERSIONS) += genksyms | 21 | subdir-$(CONFIG_MODVERSIONS) += genksyms |
22 | subdir-$(CONFIG_MODULES) += mod | 22 | subdir-y += mod |
23 | 23 | ||
24 | # Let clean descend into subdirs | 24 | # Let clean descend into subdirs |
25 | subdir- += basic kconfig package | 25 | subdir- += basic kconfig package |