[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2a2be28c-fd5e-45b0-8834-611d35c5e6a6@alliedtelesis.co.nz>
Date: Tue, 15 Oct 2024 21:01:42 +0000
From: Chris Packham <Chris.Packham@...iedtelesis.co.nz>
To: "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 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.
>
> Thanks,
> Chris
>
> --
>
> [1] -
> https://gitlab.com/buildroot.org/buildroot/-/blob/master/linux/linux.mk?ref_type=heads#L516
>
Powered by blists - more mailing lists