devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH/RFC] kbuild: Create a rule for building device tree overlay objects
@ 2015-05-12 11:56 Geert Uytterhoeven
  2015-05-12 14:33 ` Pantelis Antoniou
  0 siblings, 1 reply; 5+ messages in thread
From: Geert Uytterhoeven @ 2015-05-12 11:56 UTC (permalink / raw)
  To: Pantelis Antoniou
  Cc: linux-kbuild, devicetree, linux-kernel, Geert Uytterhoeven

This allows to handle device tree overlays like plain device trees.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
Questions:
  - Do we want dtso files under arch/<arch>/boot/dts/, too?
  - Do we want to move the dts files outside the kernel repository
    first?

 scripts/Makefile.lib | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 79e86613712f2230..4b14eef1d4b2ce8f 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -292,6 +292,9 @@ cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \
 $(obj)/%.dtb: $(src)/%.dts FORCE
 	$(call if_changed_dep,dtc)
 
+$(obj)/%.dtbo: $(src)/%.dtso FORCE
+	$(call if_changed_dep,dtc)
+
 dtc-tmp = $(subst $(comma),_,$(dot-target).dts.tmp)
 
 # Bzip2
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-05-18 14:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-12 11:56 [PATCH/RFC] kbuild: Create a rule for building device tree overlay objects Geert Uytterhoeven
2015-05-12 14:33 ` Pantelis Antoniou
2015-05-16  0:47   ` Frank Rowand
2015-05-16  2:16     ` Frank Rowand
2015-05-18 14:13       ` Pantelis Antoniou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).