Commit 7e87d5a7 authored by Michal Marek's avatar Michal Marek Committed by Jiri Slaby

kbuild: Do not run modules_install and install in paralel

commit a85a41ed upstream.

Based on a x86-only patch by Andy Lutomirski <luto@amacapital.net>

With modular kernels, 'make install' is going to need the installed
modules at some point to generate the initramfs.
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
parent 341ec0a3
...@@ -476,6 +476,12 @@ ifeq ($(KBUILD_EXTMOD),) ...@@ -476,6 +476,12 @@ ifeq ($(KBUILD_EXTMOD),)
endif endif
endif endif
endif endif
# install and module_install need also be processed one by one
ifneq ($(filter install,$(MAKECMDGOALS)),)
ifneq ($(filter modules_install,$(MAKECMDGOALS)),)
mixed-targets := 1
endif
endif
ifeq ($(mixed-targets),1) ifeq ($(mixed-targets),1)
# =========================================================================== # ===========================================================================
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment