diff options
-rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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) |