summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2013-07-15 23:18:37 +0000
committerLuka Perkov <luka@openwrt.org>2013-07-15 23:18:37 +0000
commit6ef9d30da76819531486bcc2da6488a54c260a34 (patch)
tree8642ac06e24b9ab8f3ab8895470101518442ebbf /target
parent620739e0be3784e521c5e96bed65e2f6e3317fa8 (diff)
downloadmtk-20170518-6ef9d30da76819531486bcc2da6488a54c260a34.zip
mtk-20170518-6ef9d30da76819531486bcc2da6488a54c260a34.tar.gz
mtk-20170518-6ef9d30da76819531486bcc2da6488a54c260a34.tar.bz2
imx6: use $PATH to locate dtc binary
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 37362
Diffstat (limited to 'target')
-rw-r--r--target/linux/imx6/image/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/imx6/image/Makefile b/target/linux/imx6/image/Makefile
index 975328f..04a446d 100644
--- a/target/linux/imx6/image/Makefile
+++ b/target/linux/imx6/image/Makefile
@@ -16,7 +16,7 @@ define mkfit
-v 'OpenWrt Linux-$(LINUX_VERSION)' \
-d $(LINUX_DIR)/arch/arm/boot/dts/$(1).dtb -k $(LINUX_DIR)/arch/arm/boot/zImage \
-o $(KDIR)/$(1)-uImage.its
- mkimage -B $(LINUX_DIR)/scripts/dtc/dtc -f $(KDIR)/$(1)-uImage.its $(BIN_DIR)/openwrt-$(1)-uImage.itb
+ PATH=$(LINUX_DIR)/scripts/dtc:$(PATH) mkimage -f $(KDIR)/$(1)-uImage.its $(BIN_DIR)/openwrt-$(1)-uImage.itb
endef
# emit FIT images, DTB's and generic zImage