summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Koskovich <zvnexus@outlook.com>2020-09-25 19:23:25 -0700
committeralk3pInjection <webmaster@raspii.tech>2022-01-16 08:24:08 +0800
commit66a6c0f4a218034101f56b17fc0425e8dbcedd42 (patch)
treeb5fa6d62dc9668f82d9693ee3c67da948b849e6a
parent274938fb7853f337a60c0c1bcadf7c2795c7ac10 (diff)
common: Fix possible DTBO directories
Change-Id: Ia96933d0021058042c0845fb8a29f39fd4469f0d
-rw-r--r--generate_extra_images.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/generate_extra_images.mk b/generate_extra_images.mk
index 30a75fe..7b10dbd 100644
--- a/generate_extra_images.mk
+++ b/generate_extra_images.mk
@@ -108,7 +108,7 @@ ifeq ($(strip $(BOARD_KERNEL_SEPARATED_DTBO)),true)
MKDTIMG := $(HOST_OUT_EXECUTABLES)/mkdtimg$(HOST_EXECUTABLE_SUFFIX)
# Most specific paths must come first in possible_dtbo_dirs
-possible_dtbo_dirs = $(KERNEL_OUT)/arch/$(TARGET_KERNEL_ARCH)/boot/dts $(KERNEL_OUT)/arch/arm/boot/dts
+possible_dtbo_dirs = $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/arch/arm64/boot/dts $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/arch/arm/boot/dts
$(shell mkdir -p $(possible_dtbo_dirs))
dtbo_dir = $(firstword $(wildcard $(possible_dtbo_dirs)))
dtbo_objs = $(shell find $(dtbo_dir) -name \*.dtbo)