mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-04 20:26:13 +02:00
Makefile: Fix of_list_dirs with EXT_DTB
EXT_DTB overrides the of_list_dirs that is passed to binman during builds. This causes binman to not find the normal DTB paths and instead it just is able to use the path for EXT_DTB only. Add the default of_list_dirs that is used for normal binman builds to EXT_DTB usecase as well. Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com> Reviewed-by: Aniket Limaye <a-limaye@ti.com>
This commit is contained in:
parent
0707f73a8b
commit
29be3d7d05
10
Makefile
10
Makefile
@ -1584,17 +1584,17 @@ ifneq ($(EXT_DTB),)
|
||||
ext_dtb_list := $(basename $(notdir $(EXT_DTB)))
|
||||
default_dt := $(firstword $(ext_dtb_list))
|
||||
of_list := "$(ext_dtb_list)"
|
||||
of_list_dirs := $(dir $(EXT_DTB))
|
||||
of_list_dirs := $(dir $(EXT_DTB)) $(dt_dir)
|
||||
else
|
||||
of_list := $(CONFIG_OF_LIST)
|
||||
ifneq ($(CONFIG_OF_UPSTREAM_INCLUDE_LOCAL_FALLBACK_DTBOS),)
|
||||
of_list_dirs := $(dt_dir) arch/$(ARCH)/dts
|
||||
else
|
||||
of_list_dirs := $(dt_dir)
|
||||
endif
|
||||
default_dt := $(if $(DEVICE_TREE),$(DEVICE_TREE),$(CONFIG_DEFAULT_DEVICE_TREE))
|
||||
endif
|
||||
|
||||
ifneq ($(CONFIG_OF_UPSTREAM_INCLUDE_LOCAL_FALLBACK_DTBOS),)
|
||||
of_list_dirs += arch/$(ARCH)/dts
|
||||
endif
|
||||
|
||||
binman_dtb := $(shell echo $(CONFIG_BINMAN_DTB))
|
||||
ifeq ($(strip $(binman_dtb)),)
|
||||
ifeq ($(CONFIG_OF_EMBED),y)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user