summaryrefslogtreecommitdiff
path: root/package/boot
diff options
context:
space:
mode:
authorSandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>2018-05-04 10:27:49 -0700
committerJohn Crispin <john@phrozen.org>2018-05-05 06:55:22 +0200
commitf34b495a2eeebbd29bbd193d50eb490bc03fbde6 (patch)
tree9f841f3ea715294e7f626918a2a335f211a0ce93 /package/boot
parent581f5e239203df652f5a4b2ff7a22ab402735d8a (diff)
downloadmtk-20170518-f34b495a2eeebbd29bbd193d50eb490bc03fbde6.zip
mtk-20170518-f34b495a2eeebbd29bbd193d50eb490bc03fbde6.tar.gz
mtk-20170518-f34b495a2eeebbd29bbd193d50eb490bc03fbde6.tar.bz2
uboot-at91: fix DTC command not found.
fixed DTC command not found error while compling uboot-at91. The fix is to set DTC PATH in uboot-at91 MAKE command. Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
Diffstat (limited to 'package/boot')
-rw-r--r--package/boot/uboot-at91/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/boot/uboot-at91/Makefile b/package/boot/uboot-at91/Makefile
index 994201e..b8c6c6e 100644
--- a/package/boot/uboot-at91/Makefile
+++ b/package/boot/uboot-at91/Makefile
@@ -16,6 +16,7 @@ PKG_SOURCE_VERSION:=59f202622154f82e708a6ca2bf86350a5c1b2d33
include $(INCLUDE_DIR)/u-boot.mk
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/kernel.mk
define U-Boot/Default
BUILD_TARGET:=at91
@@ -107,6 +108,7 @@ UBOOT_TARGETS := \
define Build/Compile
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
CROSS_COMPILE=$(TARGET_CROSS) \
+ DTC=$(LINUX_DIR)/scripts/dtc/dtc \
KCFLAGS="$(filter-out -fstack-protector \
-mfloat-abi=hard, $(TARGET_CFLAGS)) -mfloat-abi=soft"
endef