31 lines
909 B
Diff
31 lines
909 B
Diff
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
|
|
index c350d70d..42027d0e 100644
|
|
--- a/arch/arm/boot/dts/Makefile
|
|
+++ b/arch/arm/boot/dts/Makefile
|
|
@@ -837,7 +837,10 @@ DTB_LIST := $(dtb-y)
|
|
endif
|
|
|
|
targets += dtbs dtbs_install
|
|
-targets += $(DTB_LIST)
|
|
+targets += $(dtb-y)
|
|
|
|
-always := $(DTB_LIST)
|
|
+always := $(dtb-y)
|
|
+subdir-y := overlay
|
|
clean-files := *.dtb
|
|
+
|
|
+dts-dirs += overlay
|
|
diff --git a/scripts/Makefile.dtbinst b/scripts/Makefile.dtbinst
|
|
index c71a5f0e..bcc0fc52 100644
|
|
--- a/scripts/Makefile.dtbinst
|
|
+++ b/scripts/Makefile.dtbinst
|
|
@@ -40,7 +40,7 @@ quiet_cmd_dtb_install = INSTALL $<
|
|
|
|
install-dir = $(patsubst $(dtbinst-root)%,$(INSTALL_DTBS_PATH)%,$(obj))
|
|
|
|
-$(dtbinst-files) $(dtbinst-dirs): | __dtbs_install_prep
|
|
+$(dtbinst-files) $(dtboinst-files) $(dtbinst-dirs): | __dtbs_install_prep
|
|
|
|
$(dtbinst-files): %.dtb: $(obj)/%.dtb
|
|
$(call cmd,dtb_install,$(install-dir))
|