Skip to contentSkip to conversation

ti-tisdk-makefile: u-boot-spl: pass in dtc path from kernel

PATCH New Jacob Stiffler 1 participant 1 message Aug 12, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ti-tisdk-makefile: u-boot-spl: pass in dtc path from kernel

* u-boot build now requires he path the the device tree compiler (dtc) in order to build successfully.

---
 .../ti-tisdk-makefile/ti-tisdk-makefile/Makefile_u-boot-spl           | 4 ++--
 .../recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb          | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_u-boot-spl +2 -2
index 65f6288..f12a4a5 100644
@@ -3,12 +3,12 @@ u-boot-spl: u-boot
 u-boot-spl_clean: u-boot_clean
 u-boot-spl_install: u-boot_install
 
-u-boot:
+u-boot: linux-dtbs
 	@echo ===================================
 	@echo    Building U-boot
 	@echo ===================================
 	$(MAKE) -j $(MAKE_JOBS) -C $(TI_SDK_PATH)/board-support/u-boot-* CROSS_COMPILE=$(CROSS_COMPILE) $(UBOOT_MACHINE)
-	$(MAKE) -j $(MAKE_JOBS) -C $(TI_SDK_PATH)/board-support/u-boot-* CROSS_COMPILE=$(CROSS_COMPILE)
+	$(MAKE) -j $(MAKE_JOBS) -C $(TI_SDK_PATH)/board-support/u-boot-* CROSS_COMPILE=$(CROSS_COMPILE) DTC=$(LINUXKERNEL_INSTALL_DIR)/scripts/dtc/dtc
 
 u-boot_clean:
 	@echo ===================================
meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb +1 -1
index 6118a99..515de94 100644
@@ -48,7 +48,7 @@ SRC_URI = "\
     file://Makefile_linalg-examples \
 "
 
-PR = "r74"
+PR = "r75"
 
 MAKEFILES_MATRIX_GUI = "matrix-gui-browser \
                         refresh-screen \
Signature · 1 line
2.7.4