summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorTrevor Bourget <tgb.kernel@gmail.com>2019-05-28 01:54:23 +0200
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-06-04 19:33:10 +0200
commita6e0487709ded7cd1ba0c390d9771e5cb76a8453 (patch)
treefb4dae9353bdbbded3bc94942a3015b815bb0a7c /scripts
parentkconfig: tests: fix recursive inclusion unit test (diff)
downloadlinux-a6e0487709ded7cd1ba0c390d9771e5cb76a8453.tar.xz
linux-a6e0487709ded7cd1ba0c390d9771e5cb76a8453.zip
kbuild: tar-pkg: enable communication with jobserver
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>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/package/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/package/Makefile b/scripts/package/Makefile
index 27b42d5b6c4f..ca7f46b562a4 100644
--- a/scripts/package/Makefile
+++ b/scripts/package/Makefile
@@ -104,7 +104,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/