diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-03-13 02:21:38 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2015-03-24 11:48:44 -0400 |
commit | de4619937229378e81f95e99c9866acc8e207d34 (patch) | |
tree | 6f68d6505ad0dc97d7c3b846c338ec0995f9697f /scripts | |
parent | ad8d40cda3ad22ad9e8863d55a5c88f85c0173f0 (diff) |
kbuild: mergeconfig: fix "jobserver unavailable" warning
If "make kvmconfig" is run with "-j" option, a warning message,
"jobserver unavailable: using -j1. Add `+' to parent make rule.",
is displayed.
$ make -s defconfig
*** Default configuration is based on 'x86_64_defconfig'
#
# configuration written to .config
#
$ make -j8 kvmconfig
Using ./.config as base
Merging ./arch/x86/configs/kvm_guest.config
[ snip ]
#
# merged configuration written to ./.config (needs make)
#
make[2]: warning: jobserver unavailable: using -j1. Add `+' to
parent make rule.
scripts/kconfig/conf --oldconfig Kconfig
[ snip ]
#
# configuration written to .config
#
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Reviewed-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/kconfig/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index 9645c0739386..fc34f46cb025 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile | |||
@@ -110,7 +110,7 @@ define mergeconfig | |||
110 | $(if $(wildcard $(objtree)/.config),, $(error You need an existing .config for this target)) | 110 | $(if $(wildcard $(objtree)/.config),, $(error You need an existing .config for this target)) |
111 | $(if $(call configfiles,$(1)),, $(error No configuration exists for this target on this architecture)) | 111 | $(if $(call configfiles,$(1)),, $(error No configuration exists for this target on this architecture)) |
112 | $(Q)$(CONFIG_SHELL) $(srctree)/scripts/kconfig/merge_config.sh -m -O $(objtree) $(objtree)/.config $(call configfiles,$(1)) | 112 | $(Q)$(CONFIG_SHELL) $(srctree)/scripts/kconfig/merge_config.sh -m -O $(objtree) $(objtree)/.config $(call configfiles,$(1)) |
113 | $(Q)yes "" | $(MAKE) -f $(srctree)/Makefile oldconfig | 113 | +$(Q)yes "" | $(MAKE) -f $(srctree)/Makefile oldconfig |
114 | endef | 114 | endef |
115 | 115 | ||
116 | PHONY += kvmconfig | 116 | PHONY += kvmconfig |