android_kernel_xiaomi_sm8350/build.config.db845c
Amit Pundir 6ba3eed4fa 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 <amit.pundir@linaro.org>
Change-Id: Ie1510d93532544683a1408e88473da5a83fc3a60
2024-01-13 10:38:25 +05:30

19 lines
721 B
Plaintext

. ${ROOT_DIR}/${KERNEL_DIR}/build.config.common
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.aarch64
BUILD_INITRAMFS=1
DEFCONFIG=db845c_gki_defconfig
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
vmlinux
System.map
"
KMI_SYMBOL_LIST=android/abi_gki_aarch64_db845c