From: Luka Perkov Date: Thu, 3 Oct 2013 02:50:03 +0000 (+0000) Subject: kirkwood: enable dts compilation X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5617993e1059509ab09b1f3f210634c1f6a48af8;p=openwrt%2Fstaging%2F981213.git 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 --- 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 \