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 >