Skip to content
Snippets Groups Projects
Commit 1d8001ef authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kbuild: generate modules.order only when CONFIG_MODULES=y


Do not generate pointless modules.order when the module support is
disabled.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 175209cc
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,9 @@ ifneq ($(strip $(real-obj-y) $(need-builtin)),)
builtin-target := $(obj)/built-in.a
endif
ifdef CONFIG_MODULES
modorder-target := $(obj)/modules.order
endif
# We keep a list of all modules in $(MODVERDIR)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment