From patchwork Wed Sep 5 23:53:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 146055 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp104404ljw; Wed, 5 Sep 2018 16:53:50 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaUURE8b1FN2GkbQ4N+MeTEWnTDTPTcb7uKpcyn/cFLs6J0xZXZe83uMB4Fk24iv7T5wvUg X-Received: by 2002:a63:ee15:: with SMTP id e21-v6mr84985pgi.421.1536191630732; Wed, 05 Sep 2018 16:53:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536191630; cv=none; d=google.com; s=arc-20160816; b=pqCmSZTZ5uxXE9nFY8ZIi/LLW5WvU6w8fmFL3nboiwRPR/SYLA/Ynn8HmssmPnqWyr s05aAf8MQJviJK6K986CGp70aMXV2XRzHJQ9xv2ZFHvQDM1hP2YxzJeZZafKSfKqMnLK udkhyDBHahC3fHFHsMGrPuvJBO8Fpj/Q7Ijg73onnqLv3jDWvX5ekGrl5ILHFoIaFTof 1DKpM0DB82WzVx0fiSl7RZI6ndsTTSBYmmUl9LAnlNvnub7dA/4sivHgqPkPUzEp5nMB upZlRFF43Eb9gj0+UH59r+9f2Bwy6fv9h5yyoV2t87eJvxKSlESILThCHcWZ+jletJ/B g77A== 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 u190-v6si3649961pgb.270.2018.09.05.16.53.50; Wed, 05 Sep 2018 16:53:50 -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 S1726650AbeIFE0G (ORCPT + 32 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(+) -- 2.17.1 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))