[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1431431816-24612-1-git-send-email-geert+renesas@glider.be>
Date: Tue, 12 May 2015 13:56:56 +0200
From: Geert Uytterhoeven <geert+renesas@...der.be>
To: Pantelis Antoniou <pantelis.antoniou@...il.com>
Cc: linux-kbuild@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
Geert Uytterhoeven <geert+renesas@...der.be>
Subject: [PATCH/RFC] kbuild: Create a rule for building device tree overlay objects
This allows to handle device tree overlays like plain device trees.
Signed-off-by: Geert Uytterhoeven <geert+renesas@...der.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists