From patchwork Mon Oct 1 15:25:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 147917 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp4044936lji; Mon, 1 Oct 2018 08:26:14 -0700 (PDT) X-Google-Smtp-Source: ACcGV60o/6qBdMckRdBv6f9sTITuJDdpYnRnBwsxZqbSOkOBZ0izxvBeqGRjmxs1UNHu1Kzsbjw1 X-Received: by 2002:a17:902:9045:: with SMTP id w5-v6mr12634008plz.10.1538407574114; Mon, 01 Oct 2018 08:26:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538407574; cv=none; d=google.com; s=arc-20160816; b=rDuMFgbyInUqX4pbtBlnUL4UA89DUMyDpKrfBVowcGKkAE5svwi4rbKww6NToqn36P DJ6dhqb3JQaucgAXKim8ztqpMFJE3S5JnKNjgUHLP8MF0lPA5YK111GjIe48k8/bsm17 I1kBEszvZWAvntQi0Q0kIINPzzuXXQAhmSGKQzVRNW9FwmTcCclaZmdOTs8UEMkeo88g fQdQRPAT/SxEIZO156sgoiDG9nvtZ6fjlWpfqiPuPr+9VAsYm+rWHbRSyQwxYUcAMZBC LenCwhKGYCjjJCpIZLxP+QPXLNQ/8I2a8c/OxFrWK56ROdkwmgxl9VDiR7KEla2GUzPp h6ng== 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; bh=bfCjKvj/Rt0QdLyRoM+SklnSQ45TvYZysCa41HzJYLU=; b=zAUxxnO3n3XkU7QhiyQn8MYO07TN6JGjB5CA8iiFa2zX+PMr7qAXObj38X1152jAvZ t33cplJTaAVqP46sjoyG48QhcsZ1NMv2pZDqCdCxoZ9V3sqFqLADTpsm2JF6czpTLrv1 AqWl2eBinuwYeX0LNj3cF6axPI6Q6nPjssQ6fAIaEkDXlPJCw5YLKGf2S9Wn1zP5b/lV nBY+LwQEfO9XqLQGp+kk5y/vEocFHFiCDUJPiqoABeO3JA9UK3byRo24Ye5ywsRsxQ4S 3Fvw+MzTolEZ2b5lXSopn2T/ZPfgqaTF4VMKrh4edNw2DdOEUy60V88DTRvULqHM5Q2N 4L1Q== 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 g39-v6si6624516plb.297.2018.10.01.08.26.13; Mon, 01 Oct 2018 08:26:14 -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 S1729757AbeJAWEa (ORCPT + 32 others); Mon, 1 Oct 2018 18:04:30 -0400 Received: from mail-oi1-f196.google.com ([209.85.167.196]:43645 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729674AbeJAWEC (ORCPT ); Mon, 1 Oct 2018 18:04:02 -0400 Received: by mail-oi1-f196.google.com with SMTP id s69-v6so11490969oie.10; Mon, 01 Oct 2018 08:25:43 -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=KvhIB9veO0nFzraT152xz3NI1YDNJVRHTscU2YL7ekeKfl4dUTuIrRYaRmz2RsAOzh 7QIdUpt5QHMqizFbiepFwXRAGieSUVCQFzOgCdeuI8+1hnNh4qctUoDIE92YhGCEXF// nvjccNbh1o99p+MWPFNK8SCHBjSsZTQuMxnwanMGlt2ZeHMc3liCEYGYdxvu0IvsHijm O/D148Rf18XWOVre2i8u4UKA7Z4dMrWfBvxE8VuMbvvJ7WQnO4OxZj9VYznpoaMJZsOi nSBRAYb1gpU9SdLaBX+VaUw5RboDXwfdH3rWDnc8AjawZ75ypyMDjfK2bmylP5LWG/rR BdRg== X-Gm-Message-State: ABuFfoiMDXGG3Z2TgKYWBgOEy6w7zNU5Lv3oyJqZg9gH8vkgvWffAJci le87Mea8DBIdlEvgztAW1uEF/gM9tg== X-Received: by 2002:aca:bc54:: with SMTP id m81-v6mr5544107oif.308.1538407543040; Mon, 01 Oct 2018 08:25:43 -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 s203-v6sm2047035oif.33.2018.10.01.08.25.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Oct 2018 08:25:42 -0700 (PDT) From: Rob Herring To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Masahiro Yamada , Frank Rowand Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , linuxppc-dev@lists.ozlabs.org Subject: [PATCH v4 7/9] powerpc: enable building all dtbs Date: Mon, 1 Oct 2018 10:25:29 -0500 Message-Id: <20181001152531.3385-8-robh@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181001152531.3385-1-robh@kernel.org> References: <20181001152531.3385-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))