Re: Build failures for specific .dtb file on v6.5

From: Chris Packham
Date: Thu Aug 31 2023 - 18:34:37 EST



On 1/09/23 10:22, Chris Packham wrote:
> Hi,
>
> In earlier kernel versions (just reconfirmed on v6.4) I can do
>
>   make ARCH=arm O=build multi_v7_defconfig
>   make ARCH=arm O=build armada-xp-db-dxbc2.dtb
>
> and that one specific .dtb file will be generated.
>
> With v6.5 (and master, currently 87dfd85c3892)  I get the following error
>
>   make ARCH=arm O=build multi_v7_defconfig
>   make ARCH=arm O=build armada-xp-db-dxbc2.dtb
>   ...
>   make[3]: *** No rule to make target
> 'arch/arm/boot/dts/armada-xp-db-dxbc2.dtb'.  Stop.
>   make[2]: *** [src/linux/Makefile:1469: armada-xp-db-dxbc2.dtb] Error 2
>   make[1]: *** [src/linux/Makefile:234: __sub-make] Error 2
>   make[1]: Leaving directory 'src/linux/build'
>   make: *** [Makefile:234: __sub-make] Error 2
>
> I wasn't entirely sure which mailing list to direct this at so I've
> cast the net fairly wide. I'll try to setup an automated bisect and
> report back if I narrow the problem down.

Bisect points to 724ba6751532 ("ARM: dts: Move .dts files to vendor
sub-directories") which given the subject makes sense. I'll adjust our
build recipes to use the vendor prefix. Sorry for the noise.