aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/imx6
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
commita3c219ccf6913ff6228d3be56b79b75443aae1fa (patch)
treee0af9f6a0cd6b87c2247d706ca8781d6444a96df /target/linux/imx6
parent295bb7f059fba6f376239a91511a328cd69b2a71 (diff)
downloadupstream-a3c219ccf6913ff6228d3be56b79b75443aae1fa.tar.gz
upstream-a3c219ccf6913ff6228d3be56b79b75443aae1fa.tar.bz2
upstream-a3c219ccf6913ff6228d3be56b79b75443aae1fa.zip
imx6: use $PATH to locate dtc binary
Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37362 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/imx6')
-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 975328f003..04a446d98f 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