From 797a5f020ead27d92f238f6e8aa5dd7de1ffec81 Mon Sep 17 00:00:00 2001 From: luka Date: Mon, 15 Jul 2013 23:18:37 +0000 Subject: imx6: use $PATH to locate dtc binary Signed-off-by: Luka Perkov git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37362 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/imx6/image/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/imx6/image/Makefile') 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 -- cgit v1.2.3