From patchwork Tue Apr 17 09:10:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 133522 Delivered-To: patch@linaro.org Received: by 10.46.84.18 with SMTP id i18csp4489608ljb; Tue, 17 Apr 2018 02:11:15 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+LVIyVuhgPpqMV14nmFMcMuU8u3M0duibXwsVNcn1mAf4gOF6kSTD82SVXLHcpOQkCJjm+ X-Received: by 10.98.25.133 with SMTP id 127mr1255139pfz.131.1523956275036; Tue, 17 Apr 2018 02:11:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523956275; cv=none; d=google.com; s=arc-20160816; b=q5cZctv7L+cFJviOfx0knjl9SLTZKcMRnG2h5cJoi45aLgdNr0OPrPWqw5sx4gK50y vPjicq4Gl2s18OSNAnAjrJTQunDwoP8AnAvCoTCCrNgEQJ0b+Huv2b+lhJ8Wm16i8OLU XozpPz25frfcx9gOtERuPsJnNOJnl3gDf7BVvcxvdkKzYYco4TNq0LXfkStYu9yHsP7L XUYOTriPHgNeYwVd1zBav8rS+MW3tmnzBuP4hNZBQXZ3UDETnT8x9p2UjvduYSTM1mzc FKwSdv7LtKowCUv90GfkGkgeaiiNXEVYkUx2JH1mEgHNZXBu2NQQrpWDOTTvyrHIeRCr EK6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=7TDFc0uiHeC1uc7glrx0kIQhE1EObH4V3q45SEcrGCM=; b=lzMH617oqtrrCpcM3RTPMCNj9RtiVGrdW4iWI2ZyxPhVK0WkFy0/KcdpbkN9jZN7r8 Yw2qCEmOsf0YPKn6ni+KAeF7siS5kK1xS0ofPzwLQVrbxmuDJ9ipWcGa06B4/uQ2ktu0 jL9OGCfLsxJnp4H+vK2a5CDC8F8zAF+bNi8KZyLLRCQvPPY7fEwqL8Nk9xGtq8aB9nPU juGG21PzFoRUq07W5Hrtp4h7/bYOcvic+CF/r5RZXqH/M2/2n7/Goixx6PkasbIJyBFk IuLwjrkhLKcP4V8Z+PmTiQ4ZZUePiYGkSQZjVbf4TiyzQQ6xBgjYf6kYnxxfGbiGwm75 rw8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=SFup/c10; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r25si12132209pfh.2.2018.04.17.02.11.14; Tue, 17 Apr 2018 02:11:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=SFup/c10; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752043AbeDQJLO (ORCPT + 6 others); Tue, 17 Apr 2018 05:11:14 -0400 Received: from lelnx193.ext.ti.com ([198.47.27.77]:55349 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751327AbeDQJLN (ORCPT ); Tue, 17 Apr 2018 05:11:13 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id w3H9Au5Y001396; Tue, 17 Apr 2018 04:10:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1523956256; bh=RJsQDEEILOCApsgNBMVN7VLk4LNddJ9gwt6iksnUHYM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=SFup/c10JKd0XlliAFR5CyayNs5Q9LImxBJ3Deb6xP8+7P3wHAvey0VNNCaXfXOeD UVY6n2sVd5euwybM9Yq6LL6lVR4EcNtI99pEKd79nMyeZ/BSF0NNpnV7KLddFqrPkA U/5DSvbcHWera1k6VM5CAnONMLsj/veQ7GMVVxdk= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3H9AuNx021283; Tue, 17 Apr 2018 04:10:56 -0500 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Tue, 17 Apr 2018 04:10:56 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Tue, 17 Apr 2018 04:10:55 -0500 Received: from gomoku.home (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3H9AdnA031430; Tue, 17 Apr 2018 04:10:53 -0500 From: Tero Kristo To: , , , CC: , , , Subject: [RFC 05/13] ARM: dts: ti: add support for building .dtb files containing symbols Date: Tue, 17 Apr 2018 12:10:07 +0300 Message-ID: <1523956215-28154-6-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1523956215-28154-1-git-send-email-t-kristo@ti.com> References: <1523956215-28154-1-git-send-email-t-kristo@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Symbols in the DTB files are needed so that overlays can be applied properly. Add support for building TI SoC specific .dtb files, the source is fetched from parent directory. Signed-off-by: Tero Kristo --- arch/arm/boot/dts/ti/Makefile | 5 +++++ 1 file changed, 5 insertions(+) -- 1.9.1 -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/ti/Makefile b/arch/arm/boot/dts/ti/Makefile index b26328b..7d2d411 100644 --- a/arch/arm/boot/dts/ti/Makefile +++ b/arch/arm/boot/dts/ti/Makefile @@ -1 +1,6 @@ +DTC_FLAGS += -@ -Wno-reg_format -Wno-avoid_default_addr_size + +$(obj)/%.dtb: $(src)/../%.dts FORCE + $(call if_changed_dep,dtc) + clean-files += *.dtbo