Skip to content

Commit

Permalink
boot/uboot: set DTC path when BR2_TARGET_UBOOT_NEEDS_DTC
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
  • Loading branch information
jameshilliard authored and user131 committed Sep 18, 2023
1 parent 73b88fe commit a6d68d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions boot/uboot/uboot.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a6d68d4

Please sign in to comment.