Merge "build.config.msm.gki: Only trim GKI build"

This commit is contained in:
qctecmdr 2022-07-08 18:18:32 -07:00 committed by Gerrit - the friendly Code Review server
commit 976c0c810f

View File

@ -18,10 +18,13 @@ GKI_BUILD_CONFIG=common/build.config.gki.aarch64
GKI_SKIP_IF_VERSION_MATCHES=1
GKI_SKIP_CP_KERNEL_HDR=1
# "Hacks" to enable symbol trimming on the common kernel from here (msm-kernel). To be removed once
# we get a common kernel with symbol trimming.
GKI_KMI_SYMBOL_LIST=../msm-kernel/android/abi_gki_aarch64_qcom
KMI_SYMBOL_LIST=android/abi_gki_aarch64_qcom
GKI_TRIM_NONLISTED_KMI=${TRIM_NONLISTED_KMI:-1}
TRIM_NONLISTED_KMI=${TRIM_NONLISTED_KMI:-1}
if [ "${VARIANT}" = gki ]; then
GKI_TRIM_NONLISTED_KMI=${TRIM_NONLISTED_KMI:-1}
fi
GKI_KMI_ENFORCED=1
KMI_ENFORCED=1