2020-05-12 13:52:13 -04:00
|
|
|
################################################################################
|
|
|
|
## 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
|
2020-06-26 15:12:19 -04:00
|
|
|
VARIANTS=(qgki-debug qgki-consolidate qgki gki gki-only)
|
2020-05-12 13:52:13 -04:00
|
|
|
|
|
|
|
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
|
2020-06-26 15:12:19 -04:00
|
|
|
qgki-debug | qgki-consolidate | qgki | gki)
|
2020-05-12 13:52:13 -04:00
|
|
|
. ${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
|