--- zzzz-none-000/linux-3.18.24/arch/arm/boot/dts/Makefile 2015-10-31 20:39:51.000000000 +0000 +++ rtl96-5690pro-762/linux-3.18.24/arch/arm/boot/dts/Makefile 2024-08-14 08:36:35.000000000 +0000 @@ -1,5 +1,10 @@ ifeq ($(CONFIG_OF),y) +# include board specific dts makefile +ifeq ($(CONFIG_ARCH_SHEIPA),y) +-include $(srctree)/arch/arm/bsp/Makefile.dts +endif + # Keep at91 dtb files sorted alphabetically for each SoC # rm9200 dtb-$(CONFIG_ARCH_AT91) += at91rm9200ek.dtb @@ -517,15 +522,7 @@ dove-dove-db.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt6589-aquaris5.dtb -targets += dtbs dtbs_install -targets += $(dtb-y) endif -# *.dtb used to be generated in the directory above. Clean out the -# old build results so people don't accidentally use them. -dtbs: $(addprefix $(obj)/, $(dtb-y)) - $(Q)rm -f $(obj)/../*.dtb - -clean-files := *.dtb - -dtbs_install: $(addsuffix _dtbinst_, $(dtb-y)) +always := $(dtb-y) +clean-files := *.dtb