--- zzzz-none-000/linux-3.10.107/arch/arm64/boot/dts/Makefile 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/arm64/boot/dts/Makefile 2021-02-04 17:41:59.000000000 +0000 @@ -1,8 +1,23 @@ -dtb-$(CONFIG_ARCH_VEXPRESS) += rtsm_ve-aemv8a.dtb foundation-v8.dtb +dts-dirs += altera +dts-dirs += amd +dts-dirs += apm +dts-dirs += arm +dts-dirs += broadcom +dts-dirs += cavium +dts-dirs += exynos +dts-dirs += freescale +dts-dirs += hisilicon +dts-dirs += marvell +dts-dirs += mediatek +dts-dirs += qcom +dts-dirs += rockchip +dts-dirs += sprd +dts-dirs += xilinx -targets += dtbs -targets += $(dtb-y) +subdir-y := $(dts-dirs) -dtbs: $(addprefix $(obj)/, $(dtb-y)) +dtstree := $(srctree)/$(src) -clean-files := *.dtb +dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(foreach d,$(dts-dirs), $(wildcard $(dtstree)/$(d)/*.dts))) + +always := $(dtb-y)