diff options
| author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-02-13 22:05:15 -0500 |
|---|---|---|
| committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-02-19 19:42:46 -0500 |
| commit | 1d8001ef358da16f0ca64ab7fae9f34d7b91101e (patch) | |
| tree | 4659da7c00c1efea17913475861835469939b1b4 /scripts | |
| parent | 175209cce23d6b0669ed5366add2517e26cd75cd (diff) | |
kbuild: generate modules.order only when CONFIG_MODULES=y
Do not generate pointless modules.order when the module support is
disabled.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/Makefile.build | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build index 0a9d849d0fab..b803233327d0 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build | |||
| @@ -63,7 +63,9 @@ ifneq ($(strip $(real-obj-y) $(need-builtin)),) | |||
| 63 | builtin-target := $(obj)/built-in.a | 63 | builtin-target := $(obj)/built-in.a |
| 64 | endif | 64 | endif |
| 65 | 65 | ||
| 66 | ifdef CONFIG_MODULES | ||
| 66 | modorder-target := $(obj)/modules.order | 67 | modorder-target := $(obj)/modules.order |
| 68 | endif | ||
| 67 | 69 | ||
| 68 | # We keep a list of all modules in $(MODVERDIR) | 70 | # We keep a list of all modules in $(MODVERDIR) |
| 69 | 71 | ||
