common: Fix possible DTBO directories.

Change-Id: Ia96933d0021058042c0845fb8a29f39fd4469f0d
This commit is contained in:
Alexander Koskovich 2020-09-25 19:23:25 -07:00
parent 5941911c9f
commit 492e836343
No known key found for this signature in database
GPG Key ID: F1107C9A417AC130
1 changed files with 1 additions and 1 deletions

View File

@ -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)