android_kernel_xiaomi_sm8350/build.config.msm.lahaina
Jack Pham 7f37505d4c build.config.msm.lahaina: Add qgki-consolidate as a supported variant
Add support for building using the lahaina-qgki-consolidate_defconfig
which consists of the QGKI + consolidate fragments.

Change-Id: Ie6bf7e564560a808a67f2c65bcb63e099f43e4f4
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2020-06-26 12:19:09 -07:00

43 lines
1.2 KiB
Plaintext

################################################################################
## Defaulting required variables
[ -z "${VARIANT}" ] && VARIANT=default
[ -z "${CONFIG_TARGET}" ] && CONFIG_TARGET=msm.lahaina
[ -z "${KERNEL_DIR}" ] && KERNEL_DIR=kernel
################################################################################
## Inheriting configs from ACK
_KERNEL_DIR=${KERNEL_DIR}
. ${KERNEL_DIR}/build.config.common
KERNEL_DIR=${_KERNEL_DIR}
. ${KERNEL_DIR}/build.config.aarch64
################################################################################
## Variant setup
MSM_ARCH=lahaina
BRANCH=msm-5.4
VARIANTS=(qgki-debug qgki-consolidate qgki gki gki-only)
DT_OVERLAY_SUPPORT=1
BOOT_IMAGE_HEADER_VERSION=3
BASE_ADDRESS=0x80000000
PAGE_SIZE=4096
################################################################################
## Inheriting MSM configs
. ${KERNEL_DIR}/build.config.msm.common
case "${VARIANT}" in
qgki-debug | qgki-consolidate | qgki | gki)
. ${KERNEL_DIR}/build.config.msm.gki
;;
gki-only)
# In gki-only, then using ACK's GKI config directly
. ${KERNEL_DIR}/build.config.gki
;;
*)
echo "Unsupported variant '${VARIANT}'"
;;
esac