From patchwork Tue Jun 4 10:14:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 165735 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp5638487ili; Tue, 4 Jun 2019 03:15:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqyuQIO6kHIkVOYQY4siGkyjXnVjO0j24H7zQjV2Jj2o7Y4aZqik21RQJaoYq1tWnhek9fv1 X-Received: by 2002:a17:902:6a4:: with SMTP id 33mr34858882plh.338.1559643351501; Tue, 04 Jun 2019 03:15:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559643351; cv=none; d=google.com; s=arc-20160816; b=fIis+P+qOl3pCjfYthw3zuGYm/b+JhbIoom17JUhg3NUD7sre092Rgj6CC4lar7wLi SOrobBvHexoCqFDCjGzWnZ9z0L24RTaXeJiBujLt6a685sY6iPWhZ+8B7WM24+SZ7tPS 2fF4EIMfdrR1lLgeBNXxvTHU/K6r+/SWEbceh7Hfe56fLJEgk6pNGwOjR3EEj0cFXRfT w5kXIljxywhKBDaSBn50h1pYnoemTfjDt13NoHdzLcV6RVby319AAImWPHWwVYCAzVTL RikJaa/YeNZFGd3XyOEgemcSGaNwD40jS5372NxJX6g0dxkpjaj+AO9dH7ziwSKEheTb WyEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=H2hb1rFxVd8vHXaptRM3sOd643GclddrQKolqKpXINY=; b=l9h1zWvaC49PFgtr4U2mz73AAaFRrOy6Cl0eG+F+/sjJCou6vm2eORc7cW3AIwJSIT UPvspmDiti+MqEF2rzXdqo+Zrggh3y5VLXWpfBUD28bfWgCEuD9XiqJYjWe9jYBToWvf GqwTjqvGn/KnpYvV3TdrGS8U1SHC3ZVZwyUfXnD0V69lGnhUtFMrSKP1a6PWzQnyiiwr XbIGGzwnh4DnpyDaY8YAn5jX4kZWUScVlWkM1vsNqFQ99CzX4V9y5u3knMEcP8d/v0ok 0twXQxjvbaeg+SWT93Pq4EkDuRvVBMQ35h/81qhNWQa/5qwihhidxyHr8UY1YE3Udsn8 9ORg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=u4rG5ouS; 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 f9si20553848pgv.5.2019.06.04.03.15.51; Tue, 04 Jun 2019 03:15:51 -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=@nifty.com header.s=dec2015msa header.b=u4rG5ouS; 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 S1727412AbfFDKPu (ORCPT + 30 others); Tue, 4 Jun 2019 06:15:50 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:39349 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727110AbfFDKPo (ORCPT ); Tue, 4 Jun 2019 06:15:44 -0400 Received: from localhost.localdomain (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id x54AEC7D032511; Tue, 4 Jun 2019 19:14:20 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com x54AEC7D032511 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1559643261; bh=H2hb1rFxVd8vHXaptRM3sOd643GclddrQKolqKpXINY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=u4rG5ouSgpTeBTdm1t8he1y5hpf62Q1dbSEmqMuyECjosHT0jnx102AWpORD7ktc9 urK7tk8gFJFGuQRa1lWxU4znmjdssG3HWp+B66VehHKcBZa/TahSvw5lJjuJRDNkgQ 0t2pZqguJaCBVXQts45mQ91bR94+TjUM76Wrhnv18O4wY1pWuRImUZg+VorPG0NSY3 wOMAFxmuakQ1z8+7ycZ/0VysAedtHWvqePToWSJC4GXsRy3lo5HKAEfjt9ppze29Xq V+p9ElP1a1KzhFKRlPe5SunFHy/HaV++RPHHz8ihxgMltj5cD5q8TIwacSKGEVRjZf cARg5XJjpS8dQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Randy Dunlap , Arnd Bergmann , David Howells , Sam Ravnborg , Jani Nikula , Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH 07/15] kbuild: build all prerequisite of headers_install simultaneously Date: Tue, 4 Jun 2019 19:14:01 +0900 Message-Id: <20190604101409.2078-8-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190604101409.2078-1-yamada.masahiro@socionext.com> References: <20190604101409.2078-1-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Currently, scripts/unifdef is compiled after scripts_basic, uapi-asm-generic, archheaders, and archscripts. The proper dependency is just scripts_basic. There is no problem to compile scripts/unifdef and other headers at the same time. Split scripts_unifdef out in order to allow more parallel building. Signed-off-by: Masahiro Yamada --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/Makefile b/Makefile index e998c40c94b4..f9c206eb3583 100644 --- a/Makefile +++ b/Makefile @@ -1181,8 +1181,7 @@ export INSTALL_HDR_PATH = $(objtree)/usr PHONY += archheaders archscripts PHONY += __headers -__headers: $(version_h) scripts_basic uapi-asm-generic archheaders archscripts - $(Q)$(MAKE) $(build)=scripts scripts/unifdef +__headers: $(version_h) scripts_unifdef uapi-asm-generic archheaders archscripts PHONY += headers_install headers_install: __headers @@ -1204,6 +1203,10 @@ ifdef CONFIG_HEADERS_CHECK all: headers_check endif +PHONY += scripts_unifdef +scripts_unifdef: scripts_basic + $(Q)$(MAKE) $(build)=scripts scripts/unifdef + # --------------------------------------------------------------------------- # Kernel selftest