From patchwork Thu Oct 8 17:53:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring (Arm)" X-Patchwork-Id: 7354451 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E03C79F54C for ; Thu, 8 Oct 2015 17:56:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0FDE8203F7 for ; Thu, 8 Oct 2015 17:56:08 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3CE6F20497 for ; Thu, 8 Oct 2015 17:56:07 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZkFOe-00065m-F6; Thu, 08 Oct 2015 17:54:28 +0000 Received: from mail-ob0-x232.google.com ([2607:f8b0:4003:c01::232]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZkFOY-0005ps-Rl for linux-arm-kernel@lists.infradead.org; Thu, 08 Oct 2015 17:54:23 +0000 Received: by obcgx8 with SMTP id gx8so44415813obc.3 for ; Thu, 08 Oct 2015 10:54:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=zdObt6ydBdxfkn+Q+cUNsc07hf/LHKs9V3vyN9ZcuXY=; b=Q4qwl0vBBFAWWGkmjpus9aZu8Vu7E7Lh5d9vZYxQxGza0ckIsl/I+sQjam3+zE10gi 5XcQ+nfR0m3aMnxD1CbXUtiiVBIDT+HRMJ1FCvUaODGfAEyObbGPSuSWeGYf0q1qUQRC O1R8KPEpWGa2mzPBlpknVGIrqWnj5bwnJgKAbWRkwzNYDroa49Qu4VRyILz8MJo+xUBF DcZPLtCsOTQiWPfBhzyS0nizzLf8RNQBOLNFd/CP2sDhmtWBWxx0Wlynull7zpgJjoGC VDPz+OHdF/Q5diI47bNa0zZsd3WmyY3Qa4Qfdyr51kL3kD3ybOki052eWD+FHqZPEZkj NDDw== X-Received: by 10.182.19.167 with SMTP id g7mr5407231obe.13.1444326841968; Thu, 08 Oct 2015 10:54:01 -0700 (PDT) Received: from rob-hp-laptop.herring.priv (72-48-98-129.dyn.grandenetworks.net. [72.48.98.129]) by smtp.googlemail.com with ESMTPSA id f81sm994967oia.11.2015.10.08.10.54.01 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 08 Oct 2015 10:54:01 -0700 (PDT) From: Rob Herring To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 05/13] arm64: enable building of all dtbs Date: Thu, 8 Oct 2015 12:53:39 -0500 Message-Id: <1444326827-3565-6-git-send-email-robh@kernel.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1444326827-3565-1-git-send-email-robh@kernel.org> References: <1444326827-3565-1-git-send-email-robh@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151008_105423_097325_4A7102FA X-CRM114-Status: GOOD ( 10.03 ) X-Spam-Score: -2.1 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ian Campbell , Catalin Marinas , Will Deacon , Olof Johansson , arm@kernel.org, Geert Uytterhoeven , Grant Likely , Frank Rowand , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Enable building all dtb files when CONFIG_OF_ALL_DTBS is enabled. The dtbs are not really dependent on a platform being enabled or any other kernel config, so for testing coverage it is convenient to build all of the dtbs. This builds all dts files in the tree, not just targets listed. This is simpler for arm64 which has a bunch of sub-dirs. Signed-off-by: Rob Herring Cc: Catalin Marinas Cc: Will Deacon Cc: linux-arm-kernel@lists.infradead.org --- arch/arm64/boot/dts/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/Makefile b/arch/arm64/boot/dts/Makefile index d9f8833..b01ec43 100644 --- a/arch/arm64/boot/dts/Makefile +++ b/arch/arm64/boot/dts/Makefile @@ -14,3 +14,9 @@ dts-dirs += sprd dts-dirs += xilinx subdir-y := $(dts-dirs) + +dtstree := $(srctree)/$(src) + +dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(foreach d,$(dts-dirs), $(wildcard $(dtstree)/$(d)/*.dts))) + +always := $(dtb-y)