lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1496163862.3204.21.camel@synopsys.com>
Date:   Tue, 30 May 2017 17:04:23 +0000
From:   Alexey Brodkin <Alexey.Brodkin@...opsys.com>
To:     "robh+dt@...nel.org" <robh+dt@...nel.org>
CC:     "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "Vineet.Gupta1@...opsys.com" <Vineet.Gupta1@...opsys.com>,
        "swarren@...dotorg.org" <swarren@...dotorg.org>,
        "linux-snps-arc@...ts.infradead.org" 
        <linux-snps-arc@...ts.infradead.org>
Subject: Re: [PATCH] arc: Add "include chroot" for DT bindings

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@...opsys.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@...opsys.com>
> > Cc: Stephen Warren <swarren@...dotorg.org>
> > Cc: Rob Herring <robh+dt@...nel.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ