summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrevor Bourget <tgb.kernel@gmail.com>2019-05-28 02:54:23 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-25 06:34:51 +0300
commit89dd8c09ff047139d6d220d4cdcf0aca97d2dadd (patch)
tree03bf367f634748070a90c4eeb89a39c5b8e79de6
parente3d4c4a7a0900daf246cfb713101f4044e9b97fa (diff)
downloadlinux-89dd8c09ff047139d6d220d4cdcf0aca97d2dadd.tar.xz
kbuild: tar-pkg: enable communication with jobserver
[ Upstream commit a6e0487709ded7cd1ba0c390d9771e5cb76a8453 ] The buildtar script might want to invoke a make, so tell the parent make to pass the jobserver token pipe to the subcommand by prefixing the command with a +. This addresses the issue seen here: /bin/sh ../scripts/package/buildtar tar-pkg make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. See https://www.gnu.org/software/make/manual/html_node/Job-Slots.html for more information. Signed-off-by: Trevor Bourget <tgb.kernel@gmail.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r--scripts/package/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/package/Makefile b/scripts/package/Makefile
index 2c6de21e5152..fd854439de0f 100644
--- a/scripts/package/Makefile
+++ b/scripts/package/Makefile
@@ -103,7 +103,7 @@ clean-dirs += $(objtree)/snap/
# ---------------------------------------------------------------------------
tar%pkg: FORCE
$(MAKE) -f $(srctree)/Makefile
- $(CONFIG_SHELL) $(srctree)/scripts/package/buildtar $@
+ +$(CONFIG_SHELL) $(srctree)/scripts/package/buildtar $@
clean-dirs += $(objtree)/tar-install/