From: Trevor Bourget Date: Mon, 27 May 2019 23:54:23 +0000 (-0700) Subject: kbuild: tar-pkg: enable communication with jobserver X-Git-Tag: v5.1.15~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89dd8c09ff047139d6d220d4cdcf0aca97d2dadd;p=thirdparty%2Fkernel%2Fstable.git 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 Signed-off-by: Masahiro Yamada Signed-off-by: Sasha Levin --- diff --git a/scripts/package/Makefile b/scripts/package/Makefile index 2c6de21e51529..fd854439de0fd 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/