build.config.msm: Add build configs for telematics
Add build config for telematics targets. Change-Id: Iaee44e004f1bf8b6c86a3a60ef5e95c1a7dc884d Signed-off-by: Sanjay <quic_sanjaykd@quicinc.com>
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
ff938a6742
commit
7894d5ea6b
19
build.config.msm.telematics
Normal file
19
build.config.msm.telematics
Normal file
@@ -0,0 +1,19 @@
|
||||
################################################################################
|
||||
# Common MSM configuration for building non-GKI-based kernels
|
||||
DEFCONFIG="generic_tele_defconfig"
|
||||
|
||||
function build_defconfig_fragments() {
|
||||
if [[ "${VARIANT}" =~ ^(perf_defconfig|debug_defconfig)$ ]]; then
|
||||
apply_defconfig_fragment ${KERNEL_DIR}/arch/${ARCH}/configs/vendor/${MSM_ARCH}.config vendor/${MSM_ARCH}_defconfig
|
||||
|
||||
if [ "${VARIANT}" = perf_defconfig ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
apply_defconfig_fragment ${KERNEL_DIR}/arch/${ARCH}/configs/vendor/${MSM_ARCH}_debug.config vendor/${MSM_ARCH}-debug_defconfig
|
||||
else
|
||||
echo "Variant '${VARIANT}' unsupported by mdm"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
build_defconfig_fragments
|
||||
Reference in New Issue
Block a user