From 6ba3eed4fa3e64cac24cac385bb0c1d150ce78c9 Mon Sep 17 00:00:00 2001 From: Amit Pundir Date: Thu, 11 Jan 2024 23:13:24 +0530 Subject: [PATCH] ANDROID: db845c: Enable device tree overlay support This DTC_FLAGS will build the base platform dtbs with overlay support. Otherwise fdtoverlay command throws "FDT_ERR_NOTFOUND" error at the build time. Missing/broken DTBO partition support on DB845c and RB5 is the primary reason we have to apply DTB overlays at the build time. This patch will help enable currently out-of-tree/WIP (GKI) features on supported devboards, and help us start testing them in the LKFT builds. Bug: 146449535 Signed-off-by: Amit Pundir Change-Id: Ie1510d93532544683a1408e88473da5a83fc3a60 --- build.config.db845c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.config.db845c b/build.config.db845c index 04f6f875f69c..f672bb64ab6b 100644 --- a/build.config.db845c +++ b/build.config.db845c @@ -7,6 +7,8 @@ FRAGMENT_CONFIG=${KERNEL_DIR}/arch/arm64/configs/db845c_gki.fragment PRE_DEFCONFIG_CMDS="KCONFIG_CONFIG=${ROOT_DIR}/${KERNEL_DIR}/arch/arm64/configs/${DEFCONFIG} ${ROOT_DIR}/${KERNEL_DIR}/scripts/kconfig/merge_config.sh -m -r ${ROOT_DIR}/${KERNEL_DIR}/arch/arm64/configs/gki_defconfig ${ROOT_DIR}/${FRAGMENT_CONFIG}" POST_DEFCONFIG_CMDS="rm ${ROOT_DIR}/${KERNEL_DIR}/arch/arm64/configs/${DEFCONFIG}" +DTC_FLAGS="${DTC_FLAGS} -@" + FILES=" arch/arm64/boot/Image.gz arch/arm64/boot/dts/qcom/sdm845-db845c.dtb