aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood/image/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/kirkwood/image/Makefile')
-rw-r--r--target/linux/kirkwood/image/Makefile6
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 \