[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK7LNARj12T2vtBmVcDLoF2Z7G-TiDhXc0JZ7yRqAwMZCo47mQ@mail.gmail.com>
Date: Tue, 28 May 2019 09:33:43 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: Trevor Bourget <tgb.kernel@...il.com>
Cc: Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] kbuild: tar-pkg: enable communication with jobserver
On Tue, May 28, 2019 at 8:55 AM Trevor Bourget <tgb.kernel@...il.com> wrote:
>
> 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@...il.com>
> ---
Applied to linux-kbuild/fixes. Thanks.
> scripts/package/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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/
>
> --
> 2.22.0.rc1.257.g3120a18244-goog
>
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists