From 231d79c81e9a1f8c2ef14861374a40fcdc5e6b33 Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Sun, 16 Jul 2023 02:39:00 -0600 Subject: [PATCH] boot/uboot: set DTC path when BR2_TARGET_UBOOT_NEEDS_DTC In order for host-dtc to get picked up properly we need to set the DTC path passed to the build explicitly. See: https://github.com/u-boot/u-boot/blob/v2023.07.02/Makefile#L420 Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- boot/uboot/uboot.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk index 4eae8e95c3..1a6e70a792 100644 --- a/boot/uboot/uboot.mk +++ b/boot/uboot/uboot.mk @@ -209,6 +209,7 @@ endif ifeq ($(BR2_TARGET_UBOOT_NEEDS_DTC),y) UBOOT_DEPENDENCIES += host-dtc +UBOOT_MAKE_OPTS += DTC=$(HOST_DIR)/bin/dtc endif ifeq ($(BR2_TARGET_UBOOT_NEEDS_PYTHON3),y)