From patchwork Mon Sep 10 15:04:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 146329 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp2595385ljw; Mon, 10 Sep 2018 08:04:19 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZhnix4C4nTNzpTmKK12HOVLY2WVZ9MZkGklSMGJ2o9XnMwzTgbcJ15hxVnraTEWxw3iHR8 X-Received: by 2002:a63:e255:: with SMTP id y21-v6mr23255374pgj.160.1536591859206; Mon, 10 Sep 2018 08:04:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536591859; cv=none; d=google.com; s=arc-20160816; b=Fu3H8PjhlXbfQeeQDkEv/efxQ6i2hwwbj3AELhbuxVCViP4bIIaIRqK9kmuWTg9F78 Vhi5d25bcTHpcRR1IGTH152/1HtqxaIdN3iMlAymxeEOO8PdBcAzqlWAyYZRZDIncVS3 YsI3v60l24s6j7iKct17lP34xpS9MFKQocd6vkekJh9YX7zKxKvNAY632V8867rnPpYm sQKQrhV7mpchlwk6YvQIQFxkjWurIy0QMaiSf4KAjCGZp970ynVSdlQ/MdL/bj+3MCmt l7YaGFZDXG1HX61n/tulg/JoWY2p9LWqPtjWJkdbnuMUg4+ZfyDkkv3ZyJzJkybxFHeC ITWw== 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=OCDxXtdT+BT3eR1O2K63+aLEMO4vzP2pxNu4bzQshhbleJVDJZmPb/d4bnJBGRAB/d 8npCUiMiXjUjMnAf60aEmUBKznfCy+9Ky8ZjJuD86Ll8xcjE/AwkoljZfkksNXRIZFMm oxQNh83wdlq1V4N3DDHEi6pNwIXLPjPUSMMWnhzJlFDERwFhJwu3gL179h8tVHp8lOlo WUojIXSLrEt8ANmPYOhEFJrrUmKiBXf/tUYRdgQuGAgB02KFzOEILWjwjpd4vAOh4Rhg OdPjKanr0QMqKCgSyy5ufme2Ee4dN+e+WY0D/owBI3PLYOYO/uo4BnXyVJSLuCyhG0v8 BYrQ== 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 u91-v6si17122333plb.73.2018.09.10.08.04.18; Mon, 10 Sep 2018 08:04:19 -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 S1728518AbeIJT6q (ORCPT + 32 others); Mon, 10 Sep 2018 15:58:46 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:37447 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727796AbeIJT6q (ORCPT ); Mon, 10 Sep 2018 15:58:46 -0400 Received: by mail-oi0-f66.google.com with SMTP id p84-v6so40746957oic.4; Mon, 10 Sep 2018 08:04:16 -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=HpZ11fdm0L3hK7T2c730vlRYHfpHjXXMdv3GOSRB7l9GJleUppSAlBDKjUaxBqsp3h QfDT/gH/Q+2ak4/z5EVgClJDVukSPCBPtpeDkSD5txwJKX4LoBwiDldU8zIfqPuf28fd 8ulJ5YbFdcveXmjA9A/eJ9Z+a10+MV0Bb9wUeFjz0mF8LAEGUh3RZdye2F7sYtfbk0pu 3znuItpc4r8U6yrQoOgFxIDh0a9m8OfJEXHooz8zE7Uw2qTDisDeID7qE0Z9pg5EhiXI 1wbeWsEGswNEQcSccUvTJjqkYPj8gXkBRWlAVGM+G3+JoEmTAEwirv0qM767GSUoEi0z L3TQ== X-Gm-Message-State: APzg51AFQurMMa6yRslr0N008N3fAm3Wn3s3Vag4foR/rkvI5+jeHmvj waskJO/eeCRgl9v3khJnxwZ4Xok= X-Received: by 2002:aca:57d4:: with SMTP id l203-v6mr24246520oib.329.1536591855275; Mon, 10 Sep 2018 08:04:15 -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 k85-v6sm49465631oiy.2.2018.09.10.08.04.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Sep 2018 08:04:14 -0700 (PDT) From: Rob Herring To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Masahiro Yamada Cc: Frank Rowand , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , linuxppc-dev@lists.ozlabs.org Subject: [PATCH v3 7/9] powerpc: enable building all dtbs Date: Mon, 10 Sep 2018 10:04:01 -0500 Message-Id: <20180910150403.19476-8-robh@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180910150403.19476-1-robh@kernel.org> References: <20180910150403.19476-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))