From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751279AbdE3RE3 (ORCPT ); Tue, 30 May 2017 13:04:29 -0400 Received: from us01smtprelay-2.synopsys.com ([198.182.60.111]:37274 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750938AbdE3RE1 (ORCPT ); Tue, 30 May 2017 13:04:27 -0400 From: Alexey Brodkin To: "robh+dt@kernel.org" CC: "linux-kernel@vger.kernel.org" , "Vineet.Gupta1@synopsys.com" , "swarren@wwwdotorg.org" , "linux-snps-arc@lists.infradead.org" Subject: Re: [PATCH] arc: Add "include chroot" for DT bindings Thread-Topic: [PATCH] arc: Add "include chroot" for DT bindings Thread-Index: AQHS2UfiFxEY8u9tG0aAL20XVoTzZKIM91MAgAACJwA= Date: Tue, 30 May 2017 17:04:23 +0000 Message-ID: <1496163862.3204.21.camel@synopsys.com> References: <1496150575-9273-1-git-send-email-abrodkin@synopsys.com> In-Reply-To: Accept-Language: en-US, ru-RU Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.121.3.38] Content-Type: text/plain; charset="utf-8" Content-ID: MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id v4UH4YgI022956 Hi Rob, On Tue, 2017-05-30 at 11:56 -0500, Rob Herring wrote: > On Tue, May 30, 2017 at 8:22 AM, Alexey Brodkin > wrote: > > > > Basically this extends > > c58299aa8754 "kbuild: create an "include chroot" for DT bindings" for > > ARC where we extensively use Device Tree and there're good reasons > > to use DT bindings, especially if those are required. > > > > Otherwise on attempt to compile .dts with something like: > > -------------------->8--------------------- > >  #include > > -------------------->8--------------------- > > > > we inevitably see this compilation failure: > > -------------------->8--------------------- > > arch/arc/boot/dts/hsdk.dts:16:40: fatal error: dt-bindings/net/ti-dp83867.h: No such file or directory > >  #include > >                                         ^ > > compilation terminated. > > -------------------->8--------------------- > > > > Signed-off-by: Alexey Brodkin > > Cc: Stephen Warren > > Cc: Rob Herring > > --- > >  arch/arc/boot/dts/include/dt-bindings | 1 + > >  1 file changed, 1 insertion(+) > >  create mode 120000 arch/arc/boot/dts/include/dt-bindings > > I believe commit d5d332d3f7e8 ("devicetree: Move include prefixes from > arch to separate directory") does what you want. Indeed that helps! Thanks a lot for the pointer! -Alexey