aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/image
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-12-10 12:39:32 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-12-10 12:39:32 +0000
commit1ebac7694539b9d274e6fe070f0199e2009409c8 (patch)
tree3323d1f9c395ab4c5cffcc5f76f8fea1096bd514 /target/linux/ramips/image
parentfb3414f349d22335eff63a8368f9531ed2fd0db0 (diff)
downloadmaster-187ad058-1ebac7694539b9d274e6fe070f0199e2009409c8.tar.gz
master-187ad058-1ebac7694539b9d274e6fe070f0199e2009409c8.tar.bz2
master-187ad058-1ebac7694539b9d274e6fe070f0199e2009409c8.zip
build: fix arch used during dts compilation
Use kernel arch for dts compilation. Also use Image/BuildDTB to build dts for ramips. Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47823 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/image')
-rw-r--r--target/linux/ramips/image/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile
index e58d012699..01e3fcbf11 100644
--- a/target/linux/ramips/image/Makefile
+++ b/target/linux/ramips/image/Makefile
@@ -39,7 +39,7 @@ define Device/Default
endef
define Build/patch-dtb
- $(LINUX_DIR)/scripts/dtc/dtc -O dtb -o $@.dtb ../dts/$(DTS).dts
+ $(call Image/BuildDTB,../dts/$(DTS).dts,$@.dtb)
$(STAGING_DIR_HOST)/bin/patch-dtb $@ $@.dtb
endef