Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp151789imm; Wed, 5 Sep 2018 16:55:00 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbwMxeklDogNkKkw2IGfrh3Ts1O2A0lekuSknE0BccjQe9O/B69UuuvTx1ycbxJfg+ceMza X-Received: by 2002:a65:4384:: with SMTP id m4-v6mr100674pgp.265.1536191700601; Wed, 05 Sep 2018 16:55:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536191700; cv=none; d=google.com; s=arc-20160816; b=YIiUy5wonJDqMCsHxM0uoXTZomWN2j1/WXCYmHhAYblG+gI9K1uj54HED9Blij3a2M mygGesmEcppz4yjFWo+OEyNsKpFtcDEDi04pS9QmjVpBHW7wRXsKE6m7Dy/gusUyu0NE 1hrMdDlvrnh4IZj/8eEChELiqeE7SiFNDKVHJDrJXBk87WcF6jj/EAbbOx1csueQ/Ae5 4eWtrjKj6DI66ICnsy5jmxOe+tPCXHeUVtt1/D9QhqFn6+qLoPksDQzWwjJq1FrUPAYP z97RZ9esjaApGLrldraHWzeFxF8RplJ8QXtuLqV0kS8grNfJDdOnVcryLcegIoPElZPg QUrg== 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=jjE/jnUmiKPQSmhzhh4e+Dd46t+Pdv/5rhH5PoOndHA=; b=Rmz1BQ7wDJahvhdfDBjii4RDaXLvOTAqq4XkKyC+ymCf1sDTpIiRN3lYbCywuqu1tT I//UIbANpJJqcYI8utOIb17MTFdWn8hQHYEqYW2RsM7su3suwxMmzuU/sPIQv9Ke3kym ATr6VBAuqeBWwg9m9Jh/3azuJ9DulrarHBCx1zinKvY/ZhMa6EojQrNodkN9EIbO1b7v d5+xLQRNidlHTzO3ruWEfCbf1hB2dDOjxM6XzOwl9dXZNpep9f3mgyuhZfDigbtsmN6T DeD4zlLHIeSv7nCSag11pK7nEzX/oNoW4w7HAJtbQul3J9S59eVIVfNROllB8EoGfVHi gutw== 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 n11-v6si3242442pgm.509.2018.09.05.16.54.45; Wed, 05 Sep 2018 16:55:00 -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 S1726594AbeIFE0G (ORCPT + 99 others); Thu, 6 Sep 2018 00:26:06 -0400 Received: from mail-oi0-f65.google.com ([209.85.218.65]:44749 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726425AbeIFE0G (ORCPT ); Thu, 6 Sep 2018 00:26:06 -0400 Received: by mail-oi0-f65.google.com with SMTP id l82-v6so17090283oih.11; Wed, 05 Sep 2018 16:53: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=jjE/jnUmiKPQSmhzhh4e+Dd46t+Pdv/5rhH5PoOndHA=; b=ScExSHV0QOidcxNN3/bMDUYeGpMmbgjJiu/Y/UFy1J9qXCTNBCoUUCpOWv7nFKhVk8 7bLD/lmSEuMckvmqeEx7kjDvvWytC+c14FD9U6L/AMJHq0XTq+FWCFa873JFT5bL5mhr wtBMmKRWOw4+M/V8APXxzubfXuXw9A6e0UYi1frbDRy82jqpIa/8FQUUAiDr5NkAQAKi YCy4L7GU8dYyIMeLYaVRqjUt1sIpjY6iE//81mhWR1FvD3slwAyQw3ozxkYeYKF1Xn8K h/BBF1InH0mm1Z6UIJmEFAUxfPhOWhm2aXHQ0e0K9wdbL7cC8XbAcEhM0xXFJJEBMDBN G0zw== X-Gm-Message-State: APzg51BsKipr4i/mxVO7v8FwaLGi/V5Opfb0ZHPQzHeQQWFbbkaPqpZ8 CxKblpUPc0KFAf2rE6vzA2U96Mc= X-Received: by 2002:aca:aa8d:: with SMTP id t135-v6mr123276oie.218.1536191613633; Wed, 05 Sep 2018 16:53: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 h186-v6sm3860624oib.55.2018.09.05.16.53.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Sep 2018 16:53:33 -0700 (PDT) From: Rob Herring To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Masahiro Yamada Cc: Ley Foon Tan , nios2-dev@lists.rocketboards.org Subject: [PATCH v2 4/9] nios2: fix building all dtbs Date: Wed, 5 Sep 2018 18:53:22 -0500 Message-Id: <20180905235327.5996-5-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 nios2 has a 'dtbs' target, but nothing is added to 'dtb-*' targets and no dtbs were getting built. This enables building all the dts files in arch/nios2/boot/dts/ when COMPILE_TEST and OF_ALL_DTBS are enabled. Cc: Ley Foon Tan Cc: nios2-dev@lists.rocketboards.org Signed-off-by: Rob Herring --- Please ack so I can take the whole series via the DT tree. arch/nios2/boot/dts/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/nios2/boot/dts/Makefile b/arch/nios2/boot/dts/Makefile index f6358e395b25..a91a0b09be63 100644 --- a/arch/nios2/boot/dts/Makefile +++ b/arch/nios2/boot/dts/Makefile @@ -1,3 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 obj-y := $(patsubst "%.dts",%.dtb.o,$(CONFIG_NIOS2_DTB_SOURCE)) + +dtstree := $(srctree)/$(src) +dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts)) -- 2.17.1