diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-12-10 12:39:32 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-12-10 12:39:32 +0000 |
commit | 09335a0a2f2d92b756871882028c0966070c0e4b (patch) | |
tree | df52416390e26283c5881b74ff4c33c127b2fa3f /target | |
parent | 6b04b44e21a8ca08a6af5e2ac1da5edacf5069b8 (diff) | |
download | mtk-20170518-09335a0a2f2d92b756871882028c0966070c0e4b.zip mtk-20170518-09335a0a2f2d92b756871882028c0966070c0e4b.tar.gz mtk-20170518-09335a0a2f2d92b756871882028c0966070c0e4b.tar.bz2 |
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>
SVN-Revision: 47823
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ramips/image/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index e58d012..01e3fcb 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 |