summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishalcj17 <vishalcj@aospa.co>2021-05-30 19:03:43 +0530
committeralk3pInjection <webmaster@raspii.tech>2022-01-13 16:38:27 +0800
commite6e64713120a164c7153f603eef1cf7a181446be (patch)
tree8ecf9e30026feffc81c285daca13e121da15e7af
parent914d2451cadb0e6cee9b79043c49cf153efe9371 (diff)
kernelscripts: Guard DTBO support with BOARD_KERNEL_SEPARATED_DTBO.
Change-Id: I03307fd8e137b2a9960a05344b42967d0a9dd1d5
-rw-r--r--kernel_definitions.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel_definitions.mk b/kernel_definitions.mk
index 75f447c..e12531f 100644
--- a/kernel_definitions.mk
+++ b/kernel_definitions.mk
@@ -32,7 +32,9 @@ else
TARGET_KERNEL_MAKE_ENV := DTC_EXT=$(SOURCE_ROOT)/$(DTC)
#TARGET_KERNEL_MAKE_ENV += DTC_OVERLAY_TEST_EXT=$(SOURCE_ROOT)/$(UFDT_APPLY_OVERLAY)
endif
+ifeq ($(BOARD_KERNEL_SEPARATED_DTBO), true)
TARGET_KERNEL_MAKE_ENV += CONFIG_BUILD_ARM64_DT_OVERLAY=y
+endif
TARGET_KERNEL_MAKE_ENV += HOSTCC=$(SOURCE_ROOT)/$(SOONG_LLVM_PREBUILTS_PATH)/clang
TARGET_KERNEL_MAKE_ENV += HOSTAR=$(SOURCE_ROOT)/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/bin/x86_64-linux-ar
TARGET_KERNEL_MAKE_ENV += HOSTLD=$(SOURCE_ROOT)/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/bin/x86_64-linux-ld