提交 1d8001ef 编写于 作者: M Masahiro Yamada

kbuild: generate modules.order only when CONFIG_MODULES=y

Do not generate pointless modules.order when the module support is
disabled.
Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
上级 175209cc
...@@ -63,7 +63,9 @@ ifneq ($(strip $(real-obj-y) $(need-builtin)),) ...@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册