From patchwork Wed Oct 11 03:52:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 115489 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp289557qgn; Tue, 10 Oct 2017 20:54:08 -0700 (PDT) X-Google-Smtp-Source: AOwi7QCa8SzP0mXpmn5KY47vmFa4Ru5Rm9ylJqMPDgUU1IkIwRIVoJW9ox/i1DRfy/U6au5yPETO X-Received: by 10.84.228.193 with SMTP id y1mr13608143pli.301.1507694048712; Tue, 10 Oct 2017 20:54:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507694048; cv=none; d=google.com; s=arc-20160816; b=0Sw6JPOuXtrjnnmmTERqDF6+1lAnoohMgOPkzs+lctH1zQXKIv7rpGVc+BhV2Clo4s o96rp+LNgwWhVH6QyAiCHhW1csCksdmkn1/fSRr2U62pKV61Qm/dv7K5JzaU9eQFUROq Cf557OoiUXAOTmJLXRx1fMgIqpCTs2svQ4N9UwODYoO7vUX8JURG1LtCoc1/BdoI4XYf OYdkGN9uPjTiq43yuYHBTG01I+I20/TCvQPjc6Bi8KhK/NxWNe/biIKazSwoCzgLR86d NbaVnnh28910n2vSGmM9BU1x89sNhFbmEgJc348YR0HTD+cwpclQjCM0QGZq1tDv+uPl f5pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter:arc-authentication-results; bh=bu5TE87Q8401ULHxonaoroBRovOTbwACjSeX3Ej7L2Q=; b=t3VYGQ7wwVz1mvaRTTGnUSHte672k3l3sb4YzJtQgeKIvo6Tk2v4dNvfgluEr6BNPm K1CBrmALEQS07hMBTpoKu8mzX73dbcdXpOnxpxa3l23m5SVJO1j/P0znZkwIAWCaJa8x NVY4VTpA4bMfL60s70jlQn9HOyNGVzBzQja8nxVLarX4lMm62J8fvR3hBN8TTmziTcjC drLOrEfIReLsKQ29BLjU/7Zog8bA1EVUScrk7sN20hWFo1el0mDE+ushAt81h26f98fA phQ1sDje9p8zM25iVi1/RMrj0G6qz3zW/cFzL0K5WeBzSwg+drBvhr0wYRxQEz9Szw/N 21Yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=sH6yxTG/; 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 v18si9378715pge.275.2017.10.10.20.54.08; Tue, 10 Oct 2017 20:54:08 -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=sH6yxTG/; 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 S1756891AbdJKDyG (ORCPT + 26 others); Tue, 10 Oct 2017 23:54:06 -0400 Received: from conuserg-10.nifty.com ([210.131.2.77]:53040 "EHLO conuserg-10.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756502AbdJKDyE (ORCPT ); Tue, 10 Oct 2017 23:54:04 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-10.nifty.com with ESMTP id v9B3qWV2002241; Wed, 11 Oct 2017 12:52:32 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com v9B3qWV2002241 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1507693953; bh=bu5TE87Q8401ULHxonaoroBRovOTbwACjSeX3Ej7L2Q=; h=From:To:Cc:Subject:Date:From; b=sH6yxTG/ViHDi1edtKkKJGshaPJ8OihCuJvrAzdO4XGM4nb57SMeegVYbdbY486/N uWzEsdKVGfPn6qm/qNYVpiNpI8+kb6ohLTG0nk93bx7PXh6AJT3dQWnA8BnkF7mkoA sppSQi2b8/FD6LkK7GU8HFDSBT+0Z4CFdH0rdTZ3AFT9qaUiBeTa1Ms2ZeygKWW2pC PrHdTNQ9Qljy1teyGdQvExsTNQFI9prqgbb3dqmBidiCToxD6iVVGrQ3WrrGNRUced PlMtuIzh5Nrpm+NnnDKuMmABt0MaQitoAXfZt2Rdvjnc4G4S7u1FssnlvCBMgluQbI UVBC1g3cZhvOw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Sam Ravnborg , Douglas Anderson , Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH] kbuild: add forward declaration of default target to Makefile.asm-generic Date: Wed, 11 Oct 2017 12:52:29 +0900 Message-Id: <1507693949-23059-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org $(kbuild-file) and Kbuild.include are included before the default target "all". We will add a target into Kbuild.include. In advance, add a forward declaration of the default target. Signed-off-by: Masahiro Yamada --- scripts/Makefile.asm-generic | 3 +++ 1 file changed, 3 insertions(+) -- 2.7.4 Reviewed-by: Douglas Anderson diff --git a/scripts/Makefile.asm-generic b/scripts/Makefile.asm-generic index a6c8c17..982fb7e 100644 --- a/scripts/Makefile.asm-generic +++ b/scripts/Makefile.asm-generic @@ -5,6 +5,9 @@ # and for each file listed in this file with generic-y creates # a small wrapper file in $(obj) (arch/$(SRCARCH)/include/generated/$(src)) +PHONY += all +all: + kbuild-file := $(srctree)/arch/$(SRCARCH)/include/$(src)/Kbuild -include $(kbuild-file)