Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1653409

Re: [PATCH] arc: Add "include chroot" for DT bindings

From Alexey Brodkin <Alexey.Brodkin@synopsys.com>
Newsgroups linux.kernel
Subject Re: [PATCH] arc: Add "include chroot" for DT bindings
Date 2017-05-30 19:10 +0200
Message-ID <tMSOC-1GK-23@gated-at.bofh.it> (permalink)
References <tMPnJ-7TL-25@gated-at.bofh.it> <tMSEW-1o1-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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
> <Alexey.Brodkin@synopsys.com> 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 <dt-bindings/net/ti-dp83867.h>
> > -------------------->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 <dt-bindings/net/ti-dp83867.h>
> >                                         ^
> > compilation terminated.
> > -------------------->8---------------------
> > 
> > Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
> > Cc: Stephen Warren <swarren@wwwdotorg.org>
> > Cc: Rob Herring <robh+dt@kernel.org>
> > ---
> >  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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] arc: Add "include chroot" for DT bindings Alexey Brodkin <Alexey.Brodkin@synopsys.com> - 2017-05-30 15:30 +0200
  Re: [PATCH] arc: Add "include chroot" for DT bindings Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2017-05-30 18:40 +0200
  Re: [PATCH] arc: Add "include chroot" for DT bindings Rob Herring <robh+dt@kernel.org> - 2017-05-30 19:00 +0200
    Re: [PATCH] arc: Add "include chroot" for DT bindings Alexey Brodkin <Alexey.Brodkin@synopsys.com> - 2017-05-30 19:10 +0200

csiph-web