Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp152192imm; Wed, 5 Sep 2018 16:55:32 -0700 (PDT) X-Google-Smtp-Source: ANB0Vda+S3gc0mwHiK8tk1o2J7mt6OimfUn1U1GsEI59sw0H2P5UDPYTewx41mpNzHlEgphhNxr1 X-Received: by 2002:a17:902:6ac5:: with SMTP id i5-v6mr137193plt.232.1536191732744; Wed, 05 Sep 2018 16:55:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536191732; cv=none; d=google.com; s=arc-20160816; b=xUSQQykVZReAqD6FBoVpYg9BxUGZXW7QdT94w6oSkJAsV0R78Yq5W0D94FGFfAiIkb oOEzNaAkxKXnoUpOTwD9QRwLmg0DjXzdAyh5xsBfyIRd1IYwgJd7868YajsT+2LdAUCC MvOwBa2ni6jgTkk9dMjAH1wPgUjt7JqeGLwpnIRfpa/PVqaIfW3W64ekB5dn6ddhVZtJ Ypqpe6xkbM4G7anmOZnOMutNFO/fM4lF5hZSO5ZPVmjzrX87xCZFrdxf9x9/DEKz+MTD Ftn6SY7I5jgBChsQAnPh6e+GxwARiYz0Vg6y/Gb1x2O8OB79YSBqrm6StjNhxYLV7YxV 6H8A== 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=XtO99ev5ZPrjQnIQO8qkEa/mf4JvNHskYGW2nsqC7Sc=; b=udu9sQOJsZZWDMrX0WDAtULfIW6lEGLaRP71L6KjCGwsjeTpRYayGt+re2rgJP8kXi zEhMakeh8BL6KoMqfeK2ZmOz785s9HfaYNnaX+ISIsRydkCAzm12q/Pn4snLOb1etr5p za7ZkMqm7VS0QedsZWAvpZnTgyBvghXlyo69r3H9iyNmgxPn82SLL8TkHNOFEZJfUHRh DzME05+MmjnfZxj/ewAaN0/BPXle6URm275hcqkVEiDWEVl3nYAkbyO8v01uZdN6TC6c zY/uHERnbT1i4c+5Iv8xPKmGbi4kppHKxfBcjxAXZH1FKep8K33g5/OtpyzjfIvo2HpI ghZg== 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 p14-v6si3623748pgg.67.2018.09.05.16.55.10; Wed, 05 Sep 2018 16:55:32 -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 S1727672AbeIFE0L (ORCPT + 99 others); Thu, 6 Sep 2018 00:26:11 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:33087 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727635AbeIFE0K (ORCPT ); Thu, 6 Sep 2018 00:26:10 -0400 Received: by mail-oi0-f66.google.com with SMTP id 8-v6so17183779oip.0; Wed, 05 Sep 2018 16:53:38 -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=XtO99ev5ZPrjQnIQO8qkEa/mf4JvNHskYGW2nsqC7Sc=; b=offPPfX5+5tRw8iJsk0lK7cmJJqv2Ba+3HtKBWUWhm1fR3LCiBsPFLQHNogRsAD1Ct 840XmBkZXAl01oFbXalInlnii++Ei00lR7rMZf+euN4DWhilejC7hpRYJU00FHR4UThv W+gspS7ar4kYqsmQkCDnH8iAqRCVpyZsmGV08Pn8OvpgtukZ/dpM8OTxaLPTHncRfh3y gNRJQ9nS204bXcasSZgYJLEjjtzpqY1HxfcuiwI26XEij7r9gWvryy3OS5qHLvCxUSIg uIDynQi/HFcUjsv340LCDd4O8SL0x2cha4TQDBQDPd0N8VDNamWCAHQf/92o31AeeadC q8kA== X-Gm-Message-State: APzg51CFNvlt08hOzBthHWdkqQgvRS9OMVUUlLPgWQrNeAhp/rqmdIg1 paEcwvTmE9jeMOHOZyW5QCjrkDQ= X-Received: by 2002:aca:3606:: with SMTP id d6-v6mr99007oia.327.1536191617539; Wed, 05 Sep 2018 16:53:37 -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 h186-v6sm3860624oib.55.2018.09.05.16.53.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Sep 2018 16:53:36 -0700 (PDT) From: Rob Herring To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Masahiro Yamada Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , linuxppc-dev@lists.ozlabs.org Subject: [PATCH v2 7/9] powerpc: enable building all dtbs Date: Wed, 5 Sep 2018 18:53:25 -0500 Message-Id: <20180905235327.5996-8-robh@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180905235327.5996-1-robh@kernel.org> References: <20180905235327.5996-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 --- Please ack so I can take the whole series via the DT tree. 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 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)) -- 2.17.1