From patchwork Tue Aug 21 21:55:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 144787 Delivered-To: patch@linaro.org Received: by 2002:a2e:164a:0:0:0:0:0 with SMTP id 10-v6csp51458ljw; Tue, 21 Aug 2018 14:55:52 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyFL4q+wnU65xZeOFdXAp6AILpnPCEA+L7/xrAs2HqnprkXIdjMTHXaUBttH3AbjJa4vdNU X-Received: by 2002:a17:902:9a48:: with SMTP id x8-v6mr23508141plv.72.1534888552458; Tue, 21 Aug 2018 14:55:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534888552; cv=none; d=google.com; s=arc-20160816; b=VewhCFadfkpy/hCtEAke4WHJIuSr40/UE4pNRV7gNdrQfC/x+AeftIwDVIJZGeumjy M6IXJweESOaw7ZmbWqnDWpaccAE7aXamiXirdA07oWQrzCYIVhx3CVOcFaQmPm332RTQ CQzc1OdSeUG9phENHc+lk1idQCiHTCJnVrJOAJdEYArVO1bQEGxBDm5HzLh0lxtuIotA O58ItH+GSimrBkpc5Dq/tyHCpTZ6BLdzSvk8Bl/bcMonbMuuZclYeCU7NgUdNfQ0tHfY 5f0bhOQzpXAv2aCgs5oy/z9j5Ys5P1hbZaTYnbrB7sMTjgazeWDAVIVLb+Wrj4OPA6LU 8ZtA== 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:arc-authentication-results; bh=bfCjKvj/Rt0QdLyRoM+SklnSQ45TvYZysCa41HzJYLU=; b=cHDMpeiJ9XJN4sa6NkPxYWT4nayEmx6t3oK3lwcgs6C09vJqFasrqM7MAXgs7oZGF5 1yE5U0dbzJZGGNuVSgCe2AracjY77on3abhMX8TizFASa3+Cah6ITqwjrJ1OHvFT4zAn 691cj1psFYx9192Khg0h8J1nUXTLIMj36Y3jKn+fejgXXG/9S1If8QyMbZYixOGI+zIW 77BA7kKJSJyqpjx8iYQtCe9+t5fB6d4h94h2Tjfno341GwcNO/bxX0ATO8IfPB6CUAKs y2B5L1gqZyuyklX3NLIrSHBbnrz2afA2alEhJjiSH5HM76VxBLbDD1P1xtcPaBoy7OeN 6Stg== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u6-v6si13126558pld.256.2018.08.21.14.55.52; Tue, 21 Aug 2018 14:55:52 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727882AbeHVBRp (ORCPT + 32 others); Tue, 21 Aug 2018 21:17:45 -0400 Received: from mail-oi0-f67.google.com ([209.85.218.67]:36058 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727027AbeHVBR3 (ORCPT ); Tue, 21 Aug 2018 21:17:29 -0400 Received: by mail-oi0-f67.google.com with SMTP id n21-v6so34806618oig.3; Tue, 21 Aug 2018 14:55:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=bfCjKvj/Rt0QdLyRoM+SklnSQ45TvYZysCa41HzJYLU=; b=ITSFSkIY5sUaxK6RGb5xKcrK7GpQ0cRaPIgp7XVRLULLJ8RKTmg3R8qxAITC/AR0dn 8D+DdP0mmYQ4AssdmF5BlUXMhsv6/uA5oeQKrixh1eYJnb7GjZdp49udzTn1oAayHmcl k7rDI/wuNa9nLufyfKlLC7sL79Wv/A1sqvxuQeK7t887xus2121TfVR+AKwbPspzttV7 UWUr8K12sQQt1AfMdSzoknW+ZFeU72FkaITxNwLLI8qQjIP6t2NWy5n1W4mfEBNJH6tR BI4OpjCAUMrRa4PQdzUTjicku7NhH7Q0DzebGRbMdhgX03zQHaMRuypGCClW8NhkGkzj 4WeQ== X-Gm-Message-State: APzg51AdLiC8eICh681fKsleNV+ASQivTgvIBtUhGT+cv/X6SYIYIf2t 615EiO2vsUqJDUZPoZ0U8wj4I60= X-Received: by 2002:aca:c141:: with SMTP id r62-v6mr1251510oif.179.1534888533852; Tue, 21 Aug 2018 14:55:33 -0700 (PDT) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id x126-v6sm18785332oig.15.2018.08.21.14.55.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Aug 2018 14:55:33 -0700 (PDT) From: Rob Herring To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Frank Rowand , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , linuxppc-dev@lists.ozlabs.org Subject: [PATCH 7/8] powerpc: enable building all dtbs Date: Tue, 21 Aug 2018 16:55:23 -0500 Message-Id: <20180821215524.23040-8-robh@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180821215524.23040-1-robh@kernel.org> References: <20180821215524.23040-1-robh@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable the 'dtbs' target for powerpc. This allows building all the dts files in arch/powerpc/boot/dts/ when COMPILE_TEST and OF_ALL_DTBS are enabled. Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Rob Herring --- arch/powerpc/boot/dts/Makefile | 5 +++++ arch/powerpc/boot/dts/fsl/Makefile | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 arch/powerpc/boot/dts/fsl/Makefile -- 2.17.1 diff --git a/arch/powerpc/boot/dts/Makefile b/arch/powerpc/boot/dts/Makefile index f66554cd5c45..fb335d05aae8 100644 --- a/arch/powerpc/boot/dts/Makefile +++ b/arch/powerpc/boot/dts/Makefile @@ -1 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 + +subdir-y += fsl + +dtstree := $(srctree)/$(src) +dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts)) diff --git a/arch/powerpc/boot/dts/fsl/Makefile b/arch/powerpc/boot/dts/fsl/Makefile new file mode 100644 index 000000000000..3bae982641e9 --- /dev/null +++ b/arch/powerpc/boot/dts/fsl/Makefile @@ -0,0 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 + +dtstree := $(srctree)/$(src) +dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts))