android_kernel_samsung_sm8650/build.config.msm.autoghgvm.lxc
Wei Liu 02c4d2170c bazel: Add support to build autoghgvm_lxc
Add autoghgvm_lxc build target for LVGVM kernel image via bazel
build system.

Change-Id: I56732a4c57f99d369fab32dd462b9278c17d70f2
Signed-off-by: Wei Liu <quic_wliu8@quicinc.com>
2024-07-22 19:29:45 -07:00

26 lines
711 B
Plaintext

################################################################################
# boot image macros
BUILD_BOOT_IMG=1
# Variant setup
MSM_ARCH=autoghgvm
DEFCONFIG="generic_auto_defconfig"
function build_defconfig_fragments() {
if [[ "${VARIANT}" =~ ^(perf_defconfig|debug_defconfig)$ ]]; then
apply_defconfig_fragment "${KERNEL_DIR}"/arch/"${ARCH}"/configs/vendor/"${MSM_ARCH}".config vendor/"${MSM_ARCH}"_defconfig
if [ "${VARIANT}" = perf_defconfig ]; then
return
fi
apply_defconfig_fragment "${KERNEL_DIR}"/arch/"${ARCH}"/configs/vendor/"${MSM_ARCH}"_debug.config vendor/"${MSM_ARCH}"-debug_defconfig
else
echo "Variant '${VARIANT}' unsupported"
exit 1
fi
}
build_defconfig_fragments