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 | 6cfeeb05216e908d2dfe204dbae8e8b7d0b5812a (patch) | |
tree | 183e09041ac1a6b3740d24e415fb14470c085080 /target/linux/kirkwood/image | |
parent | 88cab0c554343f4952d1ed97c2343c4e2940cfe8 (diff) | |
download | master-187ad058-6cfeeb05216e908d2dfe204dbae8e8b7d0b5812a.tar.gz master-187ad058-6cfeeb05216e908d2dfe204dbae8e8b7d0b5812a.tar.bz2 master-187ad058-6cfeeb05216e908d2dfe204dbae8e8b7d0b5812a.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38297 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/kirkwood/image')
-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 \ |