diff options
author | Luka Perkov <luka@openwrt.org> | 2013-10-03 02:50:03 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2013-10-03 02:50:03 +0000 |
commit | 5617993e1059509ab09b1f3f210634c1f6a48af8 (patch) | |
tree | 048a9b2e2a606a59890e1f3a380d29351cbf923f /target/linux/kirkwood | |
parent | a30df8987d472e727bdd8b482e386b223b55c024 (diff) | |
download | upstream-5617993e1059509ab09b1f3f210634c1f6a48af8.tar.gz upstream-5617993e1059509ab09b1f3f210634c1f6a48af8.tar.bz2 upstream-5617993e1059509ab09b1f3f210634c1f6a48af8.zip |
kirkwood: enable dts compilation
In 3.10 we might build those, so for now just add this functionality.
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38297
Diffstat (limited to 'target/linux/kirkwood')
-rw-r--r-- | target/linux/kirkwood/image/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
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 \ |