linux_dsm_epyc7002/arch/arm64/boot/dts/renesas
Masahiro Yamada 7e7962dd1a kbuild: handle dtb-y and CONFIG_OF_ALL_DTBS natively in Makefile.lib
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>
2017-11-09 17:03:07 -06:00
..
Makefile kbuild: handle dtb-y and CONFIG_OF_ALL_DTBS natively in Makefile.lib 2017-11-09 17:03:07 -06:00
r8a7795-es1-h3ulcb.dts arm64: dts: renesas: Move CPG_AUDIO_CLK_I from board to soc files 2017-07-27 15:53:58 +02:00
r8a7795-es1-salvator-x.dts arm64: dts: renesas: Move CPG_AUDIO_CLK_I from board to soc files 2017-07-27 15:53:58 +02:00
r8a7795-es1.dtsi arm64: dts: renesas: r8a7795: add hsusb ch3 device node 2017-07-27 17:19:05 +02:00
r8a7795-h3ulcb.dts arm64: dts: r8a7795: h3ulcb: Add DU external dot clocks 2017-07-27 15:59:45 +02:00
r8a7795-salvator-x.dts arm64: dts: renesas: Move CPG_AUDIO_CLK_I from board to soc files 2017-07-27 15:53:58 +02:00
r8a7795-salvator-xs.dts arm64: dts: r8a7795: salvator-xs: Connect DU dot clocks 0 and 3 2017-07-27 16:00:25 +02:00
r8a7795.dtsi arm64: dts: r8a7795: correct whitespace of companion property 2017-08-17 11:03:34 +02:00
r8a7796-m3ulcb.dts arm64: dts: r8a7796: m3ulcb: Add DU external dot clocks 2017-07-27 15:59:54 +02:00
r8a7796-salvator-x.dts arm64: dts: r8a7796: salvator-x: Enable HDMI output 2017-07-27 15:59:28 +02:00
r8a7796.dtsi arm64: dts: r8a7796: Add HSUSB device node 2017-08-17 11:03:42 +02:00
r8a77995-draak.dts arm64: dts: renesas: Add Renesas Draak board support 2017-07-27 17:14:06 +02:00
r8a77995.dtsi arm64: dts: r8a77995: add pfc device node 2017-08-17 11:03:44 +02:00
salvator-common.dtsi ARM: arm64: Devicetree updates for v4.14 2017-09-10 20:54:48 -07:00
salvator-x.dtsi arm64: dts: renesas: Extract common Salvator-X/XS board support 2017-06-12 11:30:04 +02:00
salvator-xs.dtsi arm64: dts: salvator-xs: Add VC6 clock generator 2017-07-27 16:00:18 +02:00
ulcb.dtsi Renesas ARM64 Based SoC DT Updates for v4.14 2017-08-16 23:37:28 +02:00