Skip to content

Commit 89dd8c0

Browse files
Trevor Bourgetgregkh
authored andcommitted
kbuild: tar-pkg: enable communication with jobserver
[ Upstream commit a6e0487 ] 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>
1 parent e3d4c4a commit 89dd8c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/package/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ clean-dirs += $(objtree)/snap/
103103
# ---------------------------------------------------------------------------
104104
tar%pkg: FORCE
105105
$(MAKE) -f $(srctree)/Makefile
106-
$(CONFIG_SHELL) $(srctree)/scripts/package/buildtar $@
106+
+$(CONFIG_SHELL) $(srctree)/scripts/package/buildtar $@
107107

108108
clean-dirs += $(objtree)/tar-install/
109109

0 commit comments

Comments
 (0)