mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 08:43:31 +00:00
![]() If CONFIG_OF_ALL_DTBS is enabled, "make ARCH=arm64 dtbs" compiles each DTB twice; one from arch/arm64/boot/dts/*/Makefile and the other from the dtb-$(CONFIG_OF_ALL_DTBS) line in arch/arm64/boot/dts/Makefile. It could be a race problem when building DTBS in parallel. Another minor issue is CONFIG_OF_ALL_DTBS covers only *.dts in vendor sub-directories, so this broke when Broadcom added one more hierarchy in arch/arm64/boot/dts/broadcom/<soc>/. One idea to fix the issues in a clean way is to move DTB handling to Kbuild core scripts. Makefile.dtbinst already recognizes dtb-y natively, so it should not hurt to do so. Add $(dtb-y) to extra-y, and $(dtb-) as well if CONFIG_OF_ALL_DTBS is enabled. All clutter things in Makefiles go away. As a bonus clean-up, I also removed dts-dirs. Just use subdir-y directly to traverse sub-directories. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Arnd Bergmann <arnd@arndb.de> [robh: corrected BUILTIN_DTB to CONFIG_BUILTIN_DTB] Signed-off-by: Rob Herring <robh@kernel.org> |
||
---|---|---|
.. | ||
bcm9ejtagprb.dts | ||
bcm97xxx-nand-cs1-bch4.dtsi | ||
bcm97xxx-nand-cs1-bch24.dtsi | ||
bcm3368-netgear-cvg834g.dts | ||
bcm3368.dtsi | ||
bcm3384_viper.dtsi | ||
bcm3384_zephyr.dtsi | ||
bcm6328.dtsi | ||
bcm6358-neufbox4-sercomm.dts | ||
bcm6358.dtsi | ||
bcm6362-neufbox6-sercomm.dts | ||
bcm6362.dtsi | ||
bcm6368.dtsi | ||
bcm7125.dtsi | ||
bcm7346.dtsi | ||
bcm7358.dtsi | ||
bcm7360.dtsi | ||
bcm7362.dtsi | ||
bcm7420.dtsi | ||
bcm7425.dtsi | ||
bcm7435.dtsi | ||
bcm63268-comtrend-vr-3032u.dts | ||
bcm63268.dtsi | ||
bcm93384wvg.dts | ||
bcm93384wvg_viper.dts | ||
bcm96368mvwg.dts | ||
bcm97125cbmb.dts | ||
bcm97346dbsmb.dts | ||
bcm97358svmb.dts | ||
bcm97360svmb.dts | ||
bcm97362svmb.dts | ||
bcm97420c.dts | ||
bcm97425svmb.dts | ||
bcm97435svmb.dts | ||
Makefile |