From 543eb08102732746e64685d9d92b15e5c8d9557a Mon Sep 17 00:00:00 2001 From: Luka Perkov Date: Thu, 3 Oct 2013 02:50:03 +0000 Subject: [PATCH] kirkwood: enable dts compilation In 3.10 we might build those, so for now just add this functionality. Signed-off-by: Luka Perkov SVN-Revision: 38297 --- target/linux/kirkwood/image/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/target/linux/kirkwood/image/Makefile b/target/linux/kirkwood/image/Makefile index dbf8877652..51af440d34 100644 --- a/target/linux/kirkwood/image/Makefile +++ b/target/linux/kirkwood/image/Makefile @@ -17,6 +17,12 @@ endif endef define Image/Build + $(foreach board,$(BOARDS), + $(LINUX_DIR)/scripts/dtc/dtc \ + -O dtb -o $(BIN_DIR)/$(IMG_PREFIX)-$(board).dtb \ + -I dts $(LINUX_DIR)/arch/arm/boot/dts/kirkwood-$(board).dts ; + ) + $(if $(Image/Build/$(1)), \ $(call Image/Build/$(1),$(1)), \ $(CP) $(KDIR)/root.$(1) $(BIN_DIR)/$(IMG_PREFIX)-$(1).img \ -- 2.30.2