linux/arch/arm64/boot/dts/amlogic
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
meson-gx-p23x-q20x.dtsi ARM64: dts: meson-gx: Add AO CEC nodes 2017-08-22 15:37:22 -07:00
meson-gx.dtsi Linux 4.13-rc4 2017-08-22 15:37:31 -07:00
meson-gxbb-nanopi-k2.dts ARM64: dts: meson-gxbb-nanopi-k2: Add GPIO lines names 2017-08-01 12:57:41 -07:00
meson-gxbb-nexbox-a95x.dts ARM64: dts: meson-gx: Add AO CEC nodes 2017-08-22 15:37:22 -07:00
meson-gxbb-odroidc2.dts arm64: dts: meson-gxbb-odroidc2: Fix node order 2017-05-17 10:34:15 -07:00
meson-gxbb-p20x.dtsi ARM64: dts: meson-gx: Add AO CEC nodes 2017-08-22 15:37:22 -07:00
meson-gxbb-p200.dts ARM64: dts: amlogic: add the ethernet TX delay configuration 2017-03-06 09:55:56 -08:00
meson-gxbb-p201.dts ARM64: dts: meson-gxbb-p201: fix ethernet support 2017-03-06 09:55:56 -08:00
meson-gxbb-vega-s95-meta.dts ARM64: dts: amlogic: Clean up Vega S95 /memory nodes 2016-03-30 19:52:33 +02:00
meson-gxbb-vega-s95-pro.dts ARM64: dts: amlogic: Clean up Vega S95 /memory nodes 2016-03-30 19:52:33 +02:00
meson-gxbb-vega-s95-telos.dts ARM64: dts: amlogic: Clean up Vega S95 /memory nodes 2016-03-30 19:52:33 +02:00
meson-gxbb-vega-s95.dtsi arm64: dts: meson-gxbb-vega-s95: Fix node order 2017-05-17 10:34:15 -07:00
meson-gxbb-wetek-hub.dts arm64: dts: meson-gxbb-wetek-hub: Reference CVBS node by label 2017-05-17 10:33:14 -07:00
meson-gxbb-wetek-play2.dts ARM64: dts: meson-gx: Add AO CEC nodes 2017-08-22 15:37:22 -07:00
meson-gxbb.dtsi ARM64: dts: meson-gx: Add AO CEC nodes 2017-08-22 15:37:22 -07:00
meson-gxl-mali.dtsi ARM64: dts: meson-gx: Add Mali nodes for GXBB and GXL 2017-03-28 07:48:27 -07:00
meson-gxl-s905d-p230.dts ARM64: dts: meson-gx: Add AO CEC nodes 2017-08-22 15:37:22 -07:00
meson-gxl-s905d-p231.dts ARM64: dts: Add support for Meson GXM 2016-11-23 07:57:17 -08:00
meson-gxl-s905d.dtsi ARM64: dts: meson-gx: Add Mali nodes for GXBB and GXL 2017-03-28 07:48:27 -07:00
meson-gxl-s905x-hwacom-amazetv.dts ARM64: dts: meson-gxl: Add support for HwaCom AmazeTV 2017-03-10 14:13:23 -08:00
meson-gxl-s905x-khadas-vim.dts Linux 4.13-rc4 2017-08-22 15:37:31 -07:00
meson-gxl-s905x-libretech-cc.dts ARM64: dts: meson-gxl-libretech-cc: Add GPIO lines names 2017-08-22 15:37:50 -07:00
meson-gxl-s905x-nexbox-a95x.dts ARM64: dts: meson-gx: Add AO CEC nodes 2017-08-22 15:37:22 -07:00
meson-gxl-s905x-p212.dts ARM64: dts: meson-gx: Add AO CEC nodes 2017-08-22 15:37:22 -07:00
meson-gxl-s905x-p212.dtsi ARM64: dts: meson-gxl: improve support for the P212 reference design 2017-03-14 14:44:22 -07:00
meson-gxl-s905x.dtsi arm64: dts: meson-gxl-s905x: Comment typo fix 2017-05-17 10:33:14 -07:00
meson-gxl.dtsi ARM64: dts: meson-gx: Add AO CEC nodes 2017-08-22 15:37:22 -07:00
meson-gxm-nexbox-a1.dts ARM64: dts: meson-gx: Add AO CEC nodes 2017-08-22 15:37:22 -07:00
meson-gxm-q200.dts ARM64: dts: meson-gx: Add Buttons to Q200 and P230 boards 2017-03-22 20:46:51 -07:00
meson-gxm-q201.dts ARM64: dts: meson-gxm: Rename q200 and q201 DT files for consistency 2017-01-19 10:05:18 -08:00
meson-gxm-rbox-pro.dts arm64: dts: meson-gxm: Add R-Box Pro 2017-05-30 14:49:55 -07:00
meson-gxm.dtsi ARM64: dts: meson-gx: update AO clkc to new bindings 2017-08-22 15:37:22 -07:00