From patchwork Tue Jun 4 10:14:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 165742 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp5639039ili; Tue, 4 Jun 2019 03:16:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqwCO8qUH33l3nXjqNQKFIYl6/UrVzCEZ5+7duyZXi79naifDBSTmz3RvSSkkG88AEQpYrUE X-Received: by 2002:a62:62c1:: with SMTP id w184mr36751382pfb.95.1559643382878; Tue, 04 Jun 2019 03:16:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559643382; cv=none; d=google.com; s=arc-20160816; b=roA0j9li/2VkcZFHQh9Hvqi2ffGZk2htJ2y3/ytTzL2q/k2RuuanV/cj2w5iyylsST plIk5pTux8QsGKHNM7Wb+F8vg7nCpLiwbRGGTnRXJugd76UAT37IGbvc0d0CtzibXoY6 zL8tJaeQ4Gqui2YR5IAO01vzm6t9lJOpOv5AGZ1/NcqXtDI6+yxMrXm6CUzkrXphFxtH bYYUGKjb74KKcW84QGkDGpeGbb7hQE5/D1tqGmpiYcZnXAsRM+6/CS3PdEsIch4eLI4H htVvpbbyQsg6J89J9oIJvXS/lyrpYXLx9hd3tQFi7q8BOYzSl/PDesXtJuVdDoF9adWu aF5g== 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=VGjPFxsP6kBrwBDYVWYAlv4U8kztKdxrIjkfmrPtJXg=; b=DiE4wa8wcVwnHISkhUR5qzcQpQ8t2RAxgZB2Q2wwK9iEsLtgO0+StQy49z5B35Wzve deUULSycxBWOfNM/YKxEqHp1dL9VKXuDsRP/F1adkNqcdacl0atzlLvKUFtqPzTAD7l+ 6YIHI80bIPIJT120SZ4rDNeObyY0XWPCm1zqgO6yRbhZyAzXU3YZ0n0xBRWrYg123wvw HAmCxRlpyzeaA6N92eO8t1W/ECCSC7BGIf6lzycKqqS1qS30o16vkCCmrNpBhcWlW0ee 9sM/nJPvDJ1S99+UL189UA7YtuUCjGLf74noQYLkKp+MTWlP9Y2f256Tb5YTd1o3wWCW 2Pvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=mPNAsiSf; 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 d34si22456362pla.214.2019.06.04.03.16.22; Tue, 04 Jun 2019 03:16:22 -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=mPNAsiSf; 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 S1727531AbfFDKQV (ORCPT + 30 others); Tue, 4 Jun 2019 06:16:21 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:39165 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727061AbfFDKPi (ORCPT ); Tue, 4 Jun 2019 06:15:38 -0400 Received: from localhost.localdomain (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id x54AEC7G032511; Tue, 4 Jun 2019 19:14:23 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com x54AEC7G032511 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1559643263; bh=VGjPFxsP6kBrwBDYVWYAlv4U8kztKdxrIjkfmrPtJXg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mPNAsiSfLq57iHEV9xRwWBflUZfrT8ykBp+GDWZIAjQVsJRkpidrYn5NkG9tdx0QX Z4wnRAsDdssWbfEuF/grcOod8QKRBuz5qp1MRl7V8lCPEHVjH0BEs56PXqBZutxt5e 66MwUD6gQ2OAu5/QtgktevdXDj9X4ST08oq01DRS3BK5Uqyv01nWs5TZQZJyahCJQb 0S0lRIy9WXxWAiPFrpoLLjQYe4L5LJOnXmbdbrwESnQQLXqqCx7keYmlD/Hx9UCqoL 2S3L71IWhirlHqf21BD7bSeBFGx/i+0MNV5ytyZJkEEdhnVzQW4tJQ2TG34DraNtat m8IRGhxixPBmQ== 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 10/15] kbuild: move hdr-inst shorthand to top Makefile Date: Tue, 4 Jun 2019 19:14:04 +0900 Message-Id: <20190604101409.2078-11-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 Now that hdr-inst is used only in the top Makefile, move it there from scripts/Kbuild.include. Signed-off-by: Masahiro Yamada --- Makefile | 2 ++ scripts/Kbuild.include | 6 ------ 2 files changed, 2 insertions(+), 6 deletions(-) -- 2.17.1 diff --git a/Makefile b/Makefile index 608af32cc758..48bac02fb72d 100644 --- a/Makefile +++ b/Makefile @@ -1190,6 +1190,8 @@ headers_install: headers PHONY += archheaders archscripts +hdr-inst := -f $(srctree)/scripts/Makefile.headersinst obj + PHONY += headers headers: $(version_h) scripts_unifdef uapi-asm-generic archheaders archscripts $(if $(wildcard $(srctree)/arch/$(SRCARCH)/include/uapi/asm/Kbuild),, \ diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include index f12e81eeb89b..9ae4493d5bcd 100644 --- a/scripts/Kbuild.include +++ b/scripts/Kbuild.include @@ -180,12 +180,6 @@ dtbinst := -f $(srctree)/scripts/Makefile.dtbinst obj # $(Q)$(MAKE) $(clean)=dir clean := -f $(srctree)/scripts/Makefile.clean obj -### -# Shorthand for $(Q)$(MAKE) -f scripts/Makefile.headersinst obj= -# Usage: -# $(Q)$(MAKE) $(hdr-inst)=dir -hdr-inst := -f $(srctree)/scripts/Makefile.headersinst obj - # echo command. # Short version is used, if $(quiet) equals `quiet_', otherwise full one. echo-cmd = $(if $($(quiet)cmd_$(1)),\