]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: tar-pkg: enable communication with jobserver
authorTrevor Bourget <tgb.kernel@gmail.com>
Mon, 27 May 2019 23:54:23 +0000 (16:54 -0700)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 4 Jun 2019 17:33:10 +0000 (02:33 +0900)
commit8d3fe083573fa156422c4e506d5f4b9ee0635685
treefb4dae9353bdbbded3bc94942a3015b815bb0a7c
parent5b1451696d649eea6b5cae4b201cddf177880a59
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>
scripts/package/Makefile