Build failures for specific .dtb file on v6.5

From: Chris Packham
Date: Thu Aug 31 2023 - 18:23:06 EST


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.

Thanks,
Chris