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: <CAL_JsqJOcRGCtsG5rxYLVVBoMXiM0tN0wCMFa7AaS+CAcQvv7w@mail.gmail.com>
Date: Thu, 31 Oct 2024 07:41:43 -0500
From: Rob Herring <robh@...nel.org>
To: Chris Packham <Chris.Packham@...iedtelesis.co.nz>
Cc: "devicetree@...r.kernel.org" <devicetree@...r.kernel.org>, 
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, 
	"linux-kbuild@...r.kernel.org" <linux-kbuild@...r.kernel.org>, Masahiro Yamada <masahiroy@...nel.org>
Subject: Re: Building out of tree dtbs

On Tue, Oct 15, 2024 at 4:01 PM Chris Packham
<Chris.Packham@...iedtelesis.co.nz> wrote:
>
>
> On 16/10/24 09:16, Chris Packham wrote:
> > (resend without HTML part)
> >
> > Hi,
> >
> > I just noticed with the latest 6.12-rc I'm no longer able to build an
> > out of tree dtb by just copying it into arch/$ARCH/boot/dts (at least
> > for ARCH=mips and ARCH=arm64) and running `make my-board.dtb`. I
> > believe buildroot relies on this as well[1].
>
> A simple repro is
>
> make ARCH=arm mvebu_v7_defconfig
> cp arch/arm/boot/dts/marvell/armada-385-db-ap.dts
> arch/arm/boot/dts/myboard.dts
> make ARCH=arm myboard.dtb
>
> >
> > Is this an intentional change? Is it too late to undo it (or provide
> > an alternative way of having out of tree dts that make use of in-tree
> > dtsi).
> Looks like this is caused by commit e7e2941300d2 ("kbuild: split device
> tree build rules into scripts/Makefile.dtbs"). The conditional include
> of Makefile.dtbs isn't satisfied when building an out of tree dtb.

News to me that used to work. That's not supported behavior. Only
targets listed in 'dtbs-' are supported.

Rob

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ