@ -43,6 +43,8 @@
#
# BOARD_DTBO_CFG = Path to a mkdtboimg.py config file
#
# BOARD_CUSTOM_DTBOIMG_MK = Path to a custom dtboimage makefile
#
# KERNEL_CC = The C Compiler used. This is automatically set based
# on whether the clang version is set, optional.
# KERNEL_LD = The Linker used. This is automatically set based
@ -297,6 +299,9 @@ alldefconfig: $(KERNEL_OUT)
$( call make-kernel-target,alldefconfig)
i f e q ( t r u e , $( filter true , $ ( TARGET_NEEDS_DTBOIMAGE ) $ ( BOARD_KERNEL_SEPARATED_DTBO ) ) )
i f n e q ( $( BOARD_CUSTOM_DTBOIMG_MK ) , )
i n c l u d e $( BOARD_CUSTOM_DTBOIMG_MK )
e l s e
MKDTIMG := $( HOST_OUT_EXECUTABLES) /mkdtimg$( HOST_EXECUTABLE_SUFFIX)
MKDTBOIMG := $( HOST_OUT_EXECUTABLES) /mkdtboimg.py$( HOST_EXECUTABLE_SUFFIX)
$(BOARD_PREBUILT_DTBOIMAGE) : $( DTC ) $( MKDTIMG ) $( MKDTBOIMG )
@ -316,6 +321,7 @@ $(BOARD_PREBUILT_DTBOIMAGE):
$( call make-dtbo-target,$( KERNEL_DEFCONFIG) )
$( call make-dtbo-target,dtbo.img)
e n d i f # BOARD_KERNEL_SEPARATED_DTBO
e n d i f # BOARD_CUSTOM_DTBOIMG_MK
e n d i f # TARGET_NEEDS_DTBOIMAGE/BOARD_KERNEL_SEPARATED_DTBO
i f e q ( $( BOARD_INCLUDE_DTB_IN_BOOTIMG ) , t r u e )