2020-05-30 12:56:47 +09:00
|
|
|
################################################################################
|
|
|
|
## Defaulting required variables
|
|
|
|
[ -z "${VARIANT}" ] && VARIANT=default
|
|
|
|
[ -z "${CONFIG_TARGET}" ] && CONFIG_TARGET=msm.lahaina
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
## Inheriting configs from ACK
|
|
|
|
. ${ROOT_DIR}/common/build.config.common
|
|
|
|
. ${ROOT_DIR}/common/build.config.aarch64
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
## Variant setup
|
|
|
|
MSM_ARCH=lahaina
|
|
|
|
BRANCH=msm-waipio
|
2020-07-30 09:51:24 +09:00
|
|
|
VARIANTS=(gki)
|
2020-05-30 12:56:47 +09:00
|
|
|
|
|
|
|
DT_OVERLAY_SUPPORT=1
|
|
|
|
|
|
|
|
BOOT_IMAGE_HEADER_VERSION=3
|
|
|
|
BASE_ADDRESS=0x80000000
|
|
|
|
PAGE_SIZE=4096
|
|
|
|
|
|
|
|
ABI_DEFINITION=abi_gki_aarch64.xml
|
|
|
|
KMI_WHITELIST=abi_gki_qcom_whitelist
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
## Inheriting MSM configs
|
|
|
|
. ${KERNEL_DIR}/build.config.msm.common
|
|
|
|
|
|
|
|
case "${VARIANT}" in
|
|
|
|
gki)
|
|
|
|
. ${KERNEL_DIR}/build.config.msm.gki
|
2020-07-02 11:39:18 +09:00
|
|
|
apply_defconfig_fragment ${KERNEL_DIR}/arch/${ARCH}/configs/vendor/${MSM_ARCH}_GKI.config vendor/${MSM_ARCH}-gki_defconfig
|
2020-05-30 12:56:47 +09:00
|
|
|
;;
|
|
|
|
gki-ack)
|
|
|
|
# In gki-only, then using ACK's GKI config directly
|
|
|
|
. ${KERNEL_DIR}/build.config.gki
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo "Unsupported variant '${VARIANT}'"
|
|
|
|
;;
|
|
|
|
esac
|