imx6: use $PATH to locate dtc binary

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37362
owl
Luka Perkov 2013-07-15 23:18:37 +00:00
parent 620739e0be
commit 6ef9d30da7
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ define mkfit
-v 'OpenWrt Linux-$(LINUX_VERSION)' \ -v 'OpenWrt Linux-$(LINUX_VERSION)' \
-d $(LINUX_DIR)/arch/arm/boot/dts/$(1).dtb -k $(LINUX_DIR)/arch/arm/boot/zImage \ -d $(LINUX_DIR)/arch/arm/boot/dts/$(1).dtb -k $(LINUX_DIR)/arch/arm/boot/zImage \
-o $(KDIR)/$(1)-uImage.its -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 endef
# emit FIT images, DTB's and generic zImage # emit FIT images, DTB's and generic zImage