From patchwork Mon Oct 1 15:25:26 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: 147912 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp4044324lji; Mon, 1 Oct 2018 08:25:43 -0700 (PDT) X-Google-Smtp-Source: ACcGV62SEJ7BbrJRVmvLSIb0dUl/JYSwuaH+FP62+dZzI5nN4lsidnANjkhfhz27FO220lXWSy7+ X-Received: by 2002:a63:6849:: with SMTP id d70-v6mr10579649pgc.7.1538407543470; Mon, 01 Oct 2018 08:25:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538407543; cv=none; d=google.com; s=arc-20160816; b=a0FL2QIxcprjvIliPQZIK5rCnI/rIxYTjFDLHZzdbxp+uTOsTLwhTF/ZtbXoeWJN9M Q4wNIoR2eB9nMYWxIAgLh2KsKKwpUlkZdbhKhMajIoqW5fDitrEJ1yE+v4N+Ll32r/e3 j8+upJjhhrsy8DELOKr1WhIcoKZLznblZ/7RQ8oz8QvTNp7HsiAhYkO4HjnyNtgoe23/ U38g61fktaz+1YpeJZbQvnH5f4qltWVqv/3gkPfuoPcdEHXuwcPqDMoK3EuciPNj+tXQ FvPpIyNpcpOjaPfOL7XNqRmxJ8uZzUezVgkv/lxr3b37DNbWcXv+4mTXmPcIoRlXCeJ8 5sXQ== 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=96bgZeDJu8lmzLzGQEjyQG1f1/HFZ+sSY2PjMNDbDoY=; b=ae+jfENwp8S3PzwvpG9e7Sg+OYg7rjpRtHtzYbKpEOUNtwLv2TbRstgb9V5PZBwu+a 7Rl+YiA3sW0esFdCJJvkz+NCH6rpBJw3eOVoqr/angh0HQuyqxQ+7b25sHJjsvB5dFx+ F24w/oxkJ2LjvXDLfHLfhrB/az2BlrpO/5WsaB2IkzYGjKqcE66EQcrxAgCq6re7HKgX 7UL19qNRsTQpYgohfrOeswNEdNLA9hUmk28tGpMDwCr+3Pq5GGfyy2c/62k41u/unvW5 KFo88+h8F+w7XWfDQ6EF7nN0fUIVZTWOfKGXdHosDkXZxpClxuYCwPWpJQPvBYZh4A9r CiFg== 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 u2-v6si4791383plk.488.2018.10.01.08.25.43; Mon, 01 Oct 2018 08:25:43 -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 S1729651AbeJAWD7 (ORCPT + 32 others); Mon, 1 Oct 2018 18:03:59 -0400 Received: from mail-ot1-f65.google.com ([209.85.210.65]:39344 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729624AbeJAWD6 (ORCPT ); Mon, 1 Oct 2018 18:03:58 -0400 Received: by mail-ot1-f65.google.com with SMTP id c20-v6so6912589otl.6; Mon, 01 Oct 2018 08:25:39 -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=96bgZeDJu8lmzLzGQEjyQG1f1/HFZ+sSY2PjMNDbDoY=; b=F3aaTbMOeoc4Khz/PiN9swzdUYVLG1TB+nstWJqqM1VLqP8l9VdKnAILtT5sJUmWcc RtE9/xMNtN2XtUhnlRE6QZZVClmW9lQiDR7Uw7/OLQ7RInXq0pnPqqisn7X2z3OlSG+r bUZHRyoMmodS0tLi+7b9ZCZQ4u8qSRiiu3RosHOVG8qyMHA6EFZY2qamCZHyLDu4oOYA l8okO2wS+q7z5GmPhLgJyCQXUiDbCSAaQWSu9PK1bJ9pTWuA0ljiqswf9+vVL8nQQjFC 55wsTeXprB8x+1kdbSLyf2rlh4SZkyTX31bKCzrn2RIRAZTzA9L+sCgF6WqGS5SY9i0E Kyug== X-Gm-Message-State: ABuFfogbU5215t9+j4JuZhhMhpWQo/pK1sCWI5QU5TDJDnG91+M/BJi0 EO3a0t08yZaAOLbZ4/rvpewhvP2ieA== X-Received: by 2002:a9d:32c8:: with SMTP id u66-v6mr6234462otb.156.1538407538647; Mon, 01 Oct 2018 08:25:38 -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.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Oct 2018 08:25:38 -0700 (PDT) From: Rob Herring To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Masahiro Yamada , Frank Rowand Cc: Ley Foon Tan , nios2-dev@lists.rocketboards.org Subject: [PATCH v4 4/9] nios2: fix building all dtbs Date: Mon, 1 Oct 2018 10:25:26 -0500 Message-Id: <20181001152531.3385-5-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 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 --- 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))