summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-08-15 01:06:23 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-08-22 01:08:15 +0900
commit9b9a3f20cbe0ba9269cde6fff9f9c69907e150cf (patch)
tree8b930b1978200ebfdb9294764e7f79945588b18c /Makefile
parent10df063855822fcea3c0f51dbf534ad643d3cb1b (diff)
downloadlinux-stable-9b9a3f20cbe0ba9269cde6fff9f9c69907e150cf.tar.gz
linux-stable-9b9a3f20cbe0ba9269cde6fff9f9c69907e150cf.tar.bz2
linux-stable-9b9a3f20cbe0ba9269cde6fff9f9c69907e150cf.zip
kbuild: split final module linking out into Makefile.modfinal
I think splitting the modpost and linking modules into separate Makefiles will be useful especially when more complex build steps come in. The main motivation of this commit is to integrate the proposed klp-convert feature cleanly. I moved the logging 'Building modules, stage 2.' to Makefile.modpost to avoid the code duplication although I do not know whether or not this message is needed in the first place. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9c524950f4b3..db2ddd53d557 100644
--- a/Makefile
+++ b/Makefile
@@ -1304,7 +1304,6 @@ all: modules
PHONY += modules
modules: $(if $(KBUILD_BUILTIN),vmlinux) modules.order modules.builtin
- @$(kecho) ' Building modules, stage 2.';
$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost
$(Q)$(CONFIG_SHELL) $(srctree)/scripts/modules-check.sh
@@ -1624,7 +1623,6 @@ $(objtree)/Module.symvers:
build-dirs := $(KBUILD_EXTMOD)
PHONY += modules
modules: descend $(objtree)/Module.symvers
- @$(kecho) ' Building modules, stage 2.';
$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost
PHONY += modules_install