-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.config.msm.lahaina
42 lines (35 loc) · 1.15 KB
/
build.config.msm.lahaina
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
################################################################################
## 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