From patchwork Tue Jul 25 02:23:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 108602 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp38314qge; Mon, 24 Jul 2017 19:26:32 -0700 (PDT) X-Received: by 10.99.157.14 with SMTP id i14mr1429450pgd.146.1500949592161; Mon, 24 Jul 2017 19:26:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500949592; cv=none; d=google.com; s=arc-20160816; b=rCSlkJrlgORoLnZ36J+06nEbJtl8HF6X6rMMEhMIPX5EIgemA4RfRkpz5YVu+cBG0c RAL6bhD4YY2IaAKCqGghdejyyeufrD9gijLMM7VNxFQNi44ip6zXsHQB3q89bUD+N0oR s4iGFwPNj9MPdGvT/VJgSIdR6mpo7OMND8hnEItDE9ZmLyTcY3AIfVPoNn3rog9N8vYd UA/DE8macLH8N0S5pDN6E1eiDT5AtTnT5XDoF+c9faR8Cf/j/JW6oy8OZZxnbe8A0uVt cVR26PLpQq2lgoOE1j1jYjayEdiKLAxnp7AH/f/YvkcGDJxO5rOFLj4BfSYmSa0FwSsM SzXw== 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:dkim-signature:dkim-filter :arc-authentication-results; bh=Y+uqow8nfJamed9mp+kM9mhXUIe0OBQuwR/eVjKW8Qc=; b=uF5cd0V+Y8v9v9XPFr9Ia8vA52cn3mYb9HXERiVmYE4+iXL9szfpXabHI2EYOLSvZ5 fC6RNpj/JqHKAWfXe800eekEyTOF0LYeGHGW0Xyj/w4+oWPt6bs9v33RXHZpapdGM/mh RbHT1OjsxLTDXN4LAzpMER/7LowX8mOs3Fq6wpixl8Nmd7DfASPBYn4uYiIkGUqgqzL1 56MDtdwShB4zcfQtGW1SQ+k7HIBH0z2TIpHCXtRTsw9jAhpjk49OD39oP+a2eA3ugnJj 7AQImhF93G7gXPo12C3dfHyznaOY4HXiPrSAvhL5I+O1cecoyAFKh/92Gr/E8Op2v41n VFvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.b=rBxXfjJ6; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a26si7373823pfc.693.2017.07.24.19.26.31; Mon, 24 Jul 2017 19:26:32 -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=@nifty.com header.b=rBxXfjJ6; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755919AbdGYC03 (ORCPT + 7 others); Mon, 24 Jul 2017 22:26:29 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:37833 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754078AbdGYC00 (ORCPT ); Mon, 24 Jul 2017 22:26:26 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v6P2OfLu014470; Tue, 25 Jul 2017 11:24:43 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v6P2OfLu014470 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1500949484; bh=cPF9U1vQb11iNCoXl86Ex+Ndq0qNQbsWu+YZjElUqhg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rBxXfjJ6YsrGfyDY57iOXQzLIEV/8OY3IZOye+sPEBgYiESDB0GqA22NYUNrSpvrS EKVS4gcHUSpPVg1ggI7gUWKRd1U+dtfp3meArYdxTGfaljiHb3dIf6SYN4M/FZZYWT MxfkhMIc1KozmAAmOG8I/R8EplIFTWGrgHI8ri47UbZBNkCP0F5FJl8/b2X2qwEaNB xP5/S6/GsUzqMOZ3jjVfFJZCsR6fRNB08YLEhlub3QHo1+ADPdbxDENsaWtQYemwOq 1SXGQ6V8YoD8tcf8cs1x3YQCamWVMHAMNo6C5ah0uAtkzfvgMytjqjo4CKl6EXrVjY 9Rjiro0ng28kA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: devicetree@vger.kernel.org, Rob Herring Cc: linux-arch , Omar Sandoval , Gaurav Minocha , Grant Likely , Frank Rowand , Mark Rutland , Olof Johansson , Russell King , Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org Subject: [PATCH 1/3] of: remove drivers/of/testcase-data from include search path for CPP Date: Tue, 25 Jul 2017 11:23:34 +0900 Message-Id: <1500949416-24105-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1500949416-24105-1-git-send-email-yamada.masahiro@socionext.com> References: <1500949416-24105-1-git-send-email-yamada.masahiro@socionext.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This search path was added by commit b5190516b282 ("of: Move testcase FDT data into drivers/of"). At that time, it was needed for platform DT files to include testcase data. It became unnecessary when commit ae9304c9d311 ("Adding selftest testdata dynamically into live tree") introduced dynamic addition of testcase data, but it missed to delete this search path. Moreover, the directory drivers/of/testcase-data does not exist since commit 19fd74879a32 ("of/unittest: Rename selftest.c to unittest.c"). Signed-off-by: Masahiro Yamada --- scripts/Makefile.lib | 1 - 1 file changed, 1 deletion(-) -- 2.7.4 -- 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/scripts/Makefile.lib b/scripts/Makefile.lib index 58c05e5d9870..011d464d2132 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -176,7 +176,6 @@ ld_flags = $(LDFLAGS) $(ldflags-y) dtc_cpp_flags = -Wp,-MD,$(depfile).pre.tmp -nostdinc \ -I$(srctree)/arch/$(SRCARCH)/boot/dts \ -I$(srctree)/scripts/dtc/include-prefixes \ - -I$(srctree)/drivers/of/testcase-data \ -undef -D__DTS__ # Finds the multi-part object the current object will be linked into From patchwork Tue Jul 25 02:23:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 108603 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp38451qge; Mon, 24 Jul 2017 19:26:41 -0700 (PDT) X-Received: by 10.84.229.13 with SMTP id b13mr19702124plk.352.1500949601780; Mon, 24 Jul 2017 19:26:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500949601; cv=none; d=google.com; s=arc-20160816; b=OGdfxrElQ1OfzdWVNz/SQSnC9AuheRvEMJteVW8xCqLJADoaQT58qH4CLqgvWjFiik ioqyBEdMptBSW3jnNdG9SMbkuAS1RMB4W0NsSkPRVIbQYzOKM4d2whFNn1UWn/sReID7 1x7eCtKMiFt5nFc8VcCOKmb5E27I9s9d8/7TGLEq3sssT5JaWYnNo1A6HnX0vw1L1Tst Cnxja6VRepWnro2fgU58bsBR9TvKhp32qJf592T3/6h+cDqDCbH9AOIdOoBALz7bivOi XniilWcbDX11kShzrHIla3azJD26yn+0JaF4MbFLK9LHwsZe9LpqXvfrKZiWOuzhw7b/ Dfkg== 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:dkim-signature:dkim-filter :arc-authentication-results; bh=3GIOcpKXlQPMfImZ6M8rly2bU5CVvo9T0feyaoxKigY=; b=V/2YnmbeQE/a4Sek3rk+/9dMVUwObJY5in7tUBMlIyebbjpOnlCv7Vcd0Kjec+RwaU /IXL6DwLYOZU6YsmbDNwlXZNUVf6BtfToQGVrFuDe0S6ghdPT92GEQPLKZ20Yz5nhLM6 ZiiZfhSnIawhWGN8Aqun62vqlZS7SiHPlc1C682YcavuUFTjo8kWPWjy29ShHthQd+3R 31WMGsn0sXDQKn+GHBApr9WDMxqOaHz4LbTXTjN7oQYVi9VPq/M/6CMNnjshXABZILbA mq43sY9+M6USbdcnz3BE5P1h7oXZvrJojLp27iHKB62NLGFdkDWuWIA7AKUzdFLPQbQL YFoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.b=VoGgsXW+; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a26si7373823pfc.693.2017.07.24.19.26.41; Mon, 24 Jul 2017 19:26:41 -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=@nifty.com header.b=VoGgsXW+; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755972AbdGYC0d (ORCPT + 7 others); Mon, 24 Jul 2017 22:26:33 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:37829 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754061AbdGYC00 (ORCPT ); Mon, 24 Jul 2017 22:26:26 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v6P2OfLv014470; Tue, 25 Jul 2017 11:24:44 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v6P2OfLv014470 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1500949485; bh=CtnGZEvP5HOyszAhNJ10YWWTpBXHNEJA5l7Ny4N/cak=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VoGgsXW+/MXdgk/95UAEYCTKYwaKZQOhk9njXP44DpZO3CIQ/0yTm0ZJcmkas6m0v IjcR35uFUKSka4jSOun57HT5fHBRwoJPLozQFfQaLQ/LzDqu9F5Kaj/QSvKKrM7amx 26ZwcNALHUVhVxXyd2RUXvp7wuKlER8Tk7XPt1BVHzNp8CW/Wth4qBUmC4eibKnDUv OWlzcb4kVGpZoMrTjavXqOjCY2/nVpgINN8A9mG32/2j3z90U7DGcfCghWMWPP2HWO 1moj8M5rRK0WgjBMXpxUnbvw2FwKYiaZzQpp2t3f7JaA5bdBwZrKqSHlvbOhiPf2G/ YWkMsLpcnb50g== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: devicetree@vger.kernel.org, Rob Herring Cc: linux-arch , Omar Sandoval , Gaurav Minocha , Grant Likely , Frank Rowand , Mark Rutland , Olof Johansson , Russell King , Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org Subject: [PATCH 2/3] of: remove arch/$(SRCARCH)/boot/dts from include search path for CPP Date: Tue, 25 Jul 2017 11:23:35 +0900 Message-Id: <1500949416-24105-3-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1500949416-24105-1-git-send-email-yamada.masahiro@socionext.com> References: <1500949416-24105-1-git-send-email-yamada.masahiro@socionext.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Having arch/$(SRCARCH)/boot/dts as an include search path is not very useful these days because some architectures such as ARM64, MIPS have no DT in this directory. Instead, they have DT in vendor sub-directories. With some DT files in ARM and PowerPC fixed, we can now drop this include search path. Signed-off-by: Masahiro Yamada --- scripts/Makefile.lib | 1 - 1 file changed, 1 deletion(-) -- 2.7.4 -- 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/scripts/Makefile.lib b/scripts/Makefile.lib index 011d464d2132..9c8f38ac2620 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -174,7 +174,6 @@ cpp_flags = -Wp,-MD,$(depfile) $(NOSTDINC_FLAGS) $(LINUXINCLUDE) \ ld_flags = $(LDFLAGS) $(ldflags-y) dtc_cpp_flags = -Wp,-MD,$(depfile).pre.tmp -nostdinc \ - -I$(srctree)/arch/$(SRCARCH)/boot/dts \ -I$(srctree)/scripts/dtc/include-prefixes \ -undef -D__DTS__ From patchwork Tue Jul 25 02:23:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 108604 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp38470qge; Mon, 24 Jul 2017 19:26:43 -0700 (PDT) X-Received: by 10.98.76.17 with SMTP id z17mr17564378pfa.136.1500949603156; Mon, 24 Jul 2017 19:26:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500949603; cv=none; d=google.com; s=arc-20160816; b=ffwL/KsUWf8Hshn+GyH+DITv9BVPTtMCOxk6eoR+Uo5T+koB62U7rHhJvIvzARKzYN s+9S5+lRDI3RKA6/KpX8/Dd1jEPE+vl/ZJAE8AKyLWQozOCRDSrLofN8IGSAHMh23F0L fCN8P0rWHAAgstRVy1K+Hexdy7aKtQHa5bl5UnXXE7xEXWjrHTTIADZePObzwzsz8tkh QsAvcrc7FgqePkxxhr6LJWVhK3mn/D5hnWCaR010KQGZFraRXPm8WK/fQYX/xEIaX4EO oYu6eyLUOvV55NbqoxOj2RoJSHrkFh1VsK78qFu/nA+YRDBqPuknRNDsq3fCtnpuMjsi 88Zw== 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:dkim-signature:dkim-filter :arc-authentication-results; bh=LQCQIsGNvc4BCrTtbgfwVlvMdJ4zQ6ROKzuSxeJZH2U=; b=gtaBYDWRDJly1M96Ap4R5nPVkqxg0byJGbu0/8q0QZ2JB9cVLUi1hGewxOcD3DlAfl S3qImjOJzXtZuxGUzJmrxenVAknUgEUNUePFQUJvvBmbiRybuXpp3Nh/+FQseHShCSXB 8GVHUVAx3H8+QQnICluHwHgQy828Aweg+YmGMuhK4kWhuaqKTZo+MY57ObDX1qaUfxP+ qONqgfXU4viYzyywlHyk6vR4q94ZRPtvMNbjM8g+KvIFjjKIN3KJiIUtsUdkzgfR2rhG Zgr4QIKzXBfBHkioSPy/FizQFN9tSW2bU86OGDP1YqhK3ih0/raSGuBYdM6gl1XQ9Iqx n/wQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.b=ojetWlfi; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a26si7373823pfc.693.2017.07.24.19.26.42; Mon, 24 Jul 2017 19:26:43 -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=@nifty.com header.b=ojetWlfi; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756010AbdGYC0g (ORCPT + 7 others); Mon, 24 Jul 2017 22:26:36 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:37830 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754079AbdGYC00 (ORCPT ); Mon, 24 Jul 2017 22:26:26 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v6P2OfLw014470; Tue, 25 Jul 2017 11:24:45 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v6P2OfLw014470 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1500949486; bh=+WndZ81Vyt3qcv3hDGJHyZb8C+YYJc4Zcao2BnG7PyI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ojetWlfiyGS62NusMnXubI3suGLubZNYx/Rkw6naR7JBAMXyM3vFf0TCAEZDd9mxE 6ZjFoQ2v1S4F7KFz4/2mTsazwlqHuMmL3VO6ObvypVfUrCRXL7p1JGBcYg2KY8hVXV lX6klN7vDghWUEXC6xbC3zVL1cBVIt7BwoWE0ynnKhMbOpMExySHI5HbWorq/eGRtJ REEKN9iQ4gwgkaBlkVULcOeeTLWwTFQJUm743sbyDB5nWT6EGXtZpqTyMNiTe2NLgM vIW5mbf1CP8v44KB2v0FpNXcCw9kfwkTJKBd92l2OO8RLrMXy2So2Zt+14PB78WFQq uFwN36aLDWAHQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: devicetree@vger.kernel.org, Rob Herring Cc: linux-arch , Omar Sandoval , Gaurav Minocha , Grant Likely , Frank Rowand , Mark Rutland , Olof Johansson , Russell King , Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org Subject: [PATCH 3/3] of: search scripts/dtc/include-prefixes path for both CPP and DTC Date: Tue, 25 Jul 2017 11:23:36 +0900 Message-Id: <1500949416-24105-4-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1500949416-24105-1-git-send-email-yamada.masahiro@socionext.com> References: <1500949416-24105-1-git-send-email-yamada.masahiro@socionext.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Since commit d5d332d3f7e8 ("devicetree: Move include prefixes from arch to separate directory"), cross-arch DT reference works well, but only for CPP style #include directives. It makes as much sense to share DT between different architectures by using DTC's /include/ directives. So, scripts/dtc/include-prefixes should be passed to both CPP and DTC. I refactored Makefile.lib a bit to not repeat the same path. Signed-off-by: Masahiro Yamada --- scripts/Makefile.lib | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- 2.7.4 -- 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/scripts/Makefile.lib b/scripts/Makefile.lib index 9c8f38ac2620..dcc0d5fdf5a2 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -173,8 +173,10 @@ cpp_flags = -Wp,-MD,$(depfile) $(NOSTDINC_FLAGS) $(LINUXINCLUDE) \ ld_flags = $(LDFLAGS) $(ldflags-y) +DTC_INCLUDE := $(srctree)/scripts/dtc/include-prefixes + dtc_cpp_flags = -Wp,-MD,$(depfile).pre.tmp -nostdinc \ - -I$(srctree)/scripts/dtc/include-prefixes \ + $(addprefix -I,$(DTC_INCLUDE)) \ -undef -D__DTS__ # Finds the multi-part object the current object will be linked into @@ -315,7 +317,7 @@ quiet_cmd_dtc = DTC $@ cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \ $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \ $(DTC) -O dtb -o $@ -b 0 \ - -i $(dir $<) $(DTC_FLAGS) \ + $(addprefix -i,$(dir $<) $(DTC_INCLUDE)) $(DTC_FLAGS) \ -d $(depfile).dtc.tmp $(dtc-tmp) ; \ cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile)