Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2250451ybd; Mon, 24 Jun 2019 03:18:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqzB0nQh5rYE64yWI6ZNisv7hbGSqTJ6HeiA3OWFvf9bsVwi2EbrgrowwHqIIJVYXU8SBgXM X-Received: by 2002:a63:c60:: with SMTP id 32mr10069000pgm.42.1561371511182; Mon, 24 Jun 2019 03:18:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561371511; cv=none; d=google.com; s=arc-20160816; b=IP6keLaaH6Rb0xg1SXCmDGwtGxM48y/6LbaE/y4wWcpyCYtea/wrjdqhEH7YmKkOZJ gQT4SGBDVCkJaqN2SIAQHnHNpHXva6Z4S1FbebXiley6sXL6rYHGMf1QETxjk2g8J6fU KWWaQpaiiUzfCbz+PgzlPzIxtIqGxambz20Y05xxWXMEHGPKrOd2pA8es2wCfMPINiNQ snCXdVH97SvBl3T858lEQCN7JJ6LqJDtxdP9tYNHl2f1emR47+hYEBLE9Lt+TTKy5N7w vT9X0J/HYVwSDDIYJuP1R345wRvq8LBjwQt1kj9Z9EqO7+r6ZRq2+pkdGYWo0M8D+4Xd 479w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=T5XowmbG5BP40EUEgfFQivY+rvaU097fza9PMrtgGUc=; b=BufY3N3Wdvl3FcpNtsdQZK+5wuyO9J2O3IiloFH/JQpF5Sa2+aMtKpwa53kA5GxWiR p/CARN8JxU6s8xsNAfYYir0Hx/dJZEx3R6BDci+CTkqOsVyISNH6K7FzsgBnutz7L6wj 3ORbDc7cXAWbKiVKb9uWUZMA5Hfhqj0Cxc7O5Z3N3Ufsyp+m0io7646rjLuJyo3Oa74a zsZ8TM3XA3AwRiEdPMCTreEGYLXWWT3D+dDgDH7mkBuKYtNQiOpwGjviVLiB5YByRyyq NDr/uzsTpeprFA+X1ZJPFhjHTQStBE97si3N35yrLr07SszSKVLPZJ2iCgjAwkonmxSV tMsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="h3/WzoPY"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o1si11165586pja.67.2019.06.24.03.18.15; Mon, 24 Jun 2019 03:18:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="h3/WzoPY"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730580AbfFXKRj (ORCPT + 99 others); Mon, 24 Jun 2019 06:17:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:55216 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730986AbfFXKRc (ORCPT ); Mon, 24 Jun 2019 06:17:32 -0400 Received: from localhost (f4.8f.5177.ip4.static.sl-reverse.com [119.81.143.244]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2B55B20645; Mon, 24 Jun 2019 10:17:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561371451; bh=V2Etn4INr6GcwTyBxsWmtv+MQN/BvWi/3PnSnsAwPRY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=h3/WzoPYtOVd+WtZh+eTfo/JKrNpjaMBtztkZOKS19UukW5zX0csu/uSybG3f+Lvl HWUSMEbtGFqWM8XigkO9TdcZply6fVHcGcH/YAyPO/hzKwLFoxJIYIdcU/eqOuq44a JkS6MvWxLnVnIbimv/ZyrKRqNHiCwPxDhTUTPgPU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Trevor Bourget , Masahiro Yamada , Sasha Levin Subject: [PATCH 5.1 074/121] kbuild: tar-pkg: enable communication with jobserver Date: Mon, 24 Jun 2019 17:56:46 +0800 Message-Id: <20190624092324.685149388@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190624092320.652599624@linuxfoundation.org> References: <20190624092320.652599624@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ 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 --- scripts/package/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/package/Makefile b/scripts/package/Makefile index 2c6de21e5152..fd854439de0f 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/ -- 2.20.1