mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-24 07:31:41 +00:00
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>
This commit is contained in:
parent
175209cce2
commit
1d8001ef35
1 changed files with 2 additions and 0 deletions
|
@ -63,7 +63,9 @@ ifneq ($(strip $(real-obj-y) $(need-builtin)),)
|
||||||
builtin-target := $(obj)/built-in.a
|
builtin-target := $(obj)/built-in.a
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifdef CONFIG_MODULES
|
||||||
modorder-target := $(obj)/modules.order
|
modorder-target := $(obj)/modules.order
|
||||||
|
endif
|
||||||
|
|
||||||
# We keep a list of all modules in $(MODVERDIR)
|
# We keep a list of all modules in $(MODVERDIR)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue