diff mbox series

[RFC,02/13] ARM: dts: add support for building DT overlays

Message ID 1523956215-28154-3-git-send-email-t-kristo@ti.com
State New
Headers show
Series ARM: dts: DT overlay support infra + some data | expand

Commit Message

Tero Kristo April 17, 2018, 9:10 a.m. UTC
Add support for building DT overlay files from the kernel DT source tree.
These can be built either from the base DT source directory, or platform
specific subdir under the base directory.

Signed-off-by: Tero Kristo <t-kristo@ti.com>

---
 arch/arm/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
1.9.1

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index f6c90bc..ca09509 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -343,9 +343,9 @@  $(BOOT_TARGETS): vmlinux
 $(INSTALL_TARGETS):
 	$(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $@
 
-%.dtb: dtbdir=$(patsubst %/,%,$(patsubst %./,%,$(boot)/dts/$(dir $@)))
+%.dtb %.dtbo: dtbdir=$(patsubst %/,%,$(patsubst %./,%,$(boot)/dts/$(dir $@)))
 
-%.dtb: | scripts
+%.dtb %.dtbo: | scripts
 	$(Q)$(MAKE) $(build)=$(dtbdir) MACHINE=$(MACHINE) $(boot)/dts/$@
 
 PHONY += dtbs dtbs_install