From 6cfeeb05216e908d2dfe204dbae8e8b7d0b5812a Mon Sep 17 00:00:00 2001 From: Luka Perkov Date: Thu, 3 Oct 2013 02:50:03 +0000 Subject: kirkwood: enable dts compilation In 3.10 we might build those, so for now just add this functionality. Signed-off-by: Luka Perkov git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38297 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 \ -- cgit v1.2.3