Browse Source

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 <[email protected]>
Sandeep Sheriker Mallikarjun 7 years ago
parent
commit
f34b495a2e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      package/boot/uboot-at91/Makefile

+ 2 - 0
package/boot/uboot-at91/Makefile

@@ -16,6 +16,7 @@ PKG_SOURCE_VERSION:=59f202622154f82e708a6ca2bf86350a5c1b2d33
 
 
 include $(INCLUDE_DIR)/u-boot.mk
 include $(INCLUDE_DIR)/u-boot.mk
 include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/kernel.mk
 
 
 define U-Boot/Default
 define U-Boot/Default
   BUILD_TARGET:=at91
   BUILD_TARGET:=at91
@@ -107,6 +108,7 @@ UBOOT_TARGETS := \
 define Build/Compile
 define Build/Compile
   +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
   +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
      CROSS_COMPILE=$(TARGET_CROSS) \
      CROSS_COMPILE=$(TARGET_CROSS) \
+	 DTC=$(LINUX_DIR)/scripts/dtc/dtc \
      KCFLAGS="$(filter-out -fstack-protector \
      KCFLAGS="$(filter-out -fstack-protector \
       -mfloat-abi=hard, $(TARGET_CFLAGS)) -mfloat-abi=soft"
       -mfloat-abi=hard, $(TARGET_CFLAGS)) -mfloat-abi=soft"
 endef
 endef