tasks: dtbo: Add support for custom dtbo generation rules

Change-Id: I27fdade5eb177a06795fee7cc19066ec161642d9
This commit is contained in:
Kshitij Gupta
2020-02-10 18:24:44 +00:00
committed by Rashed Abdel-Tawab
parent 835b434363
commit 3795628673

View File

@@ -1,6 +1,10 @@
ifneq ($(TARGET_NO_KERNEL),true)
ifeq ($(strip $(BOARD_KERNEL_SEPARATED_DTBO)),true)
ifneq ($(BOARD_CUSTOM_DTBOIMG_MK),)
include $(BOARD_CUSTOM_DTBOIMG_MK)
else
MKDTIMG := $(HOST_OUT_EXECUTABLES)/mkdtimg$(HOST_EXECUTABLE_SUFFIX)
# Most specific paths must come first in possible_dtbo_dirs
@@ -21,5 +25,6 @@ endef
$(BOARD_PREBUILT_DTBOIMAGE): $(MKDTIMG) $(INSTALLED_KERNEL_TARGET)
$(build-dtboimage-target)
endif # BOARD_CUSTOM_DTBOIMG_MK
endif # BOARD_KERNEL_SEPARATED_DTBO
endif # TARGET_NO_KERNEL