build.config.msm.common: Remove BRANCH modifications

These modifications are no longer needed. Bazel controls the output
directory and uses this variable to set the local version. When we
override BRANCH, we miss "android14-${KMI_GENERATION}" stamp from the
version string.

Change-Id: I06767b4015f4910ba7c9146c8c08280961a4cad0
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
This commit is contained in:
Elliot Berman 2023-03-21 16:38:26 -07:00
parent f683031f30
commit 651a283b17

View File

@ -11,7 +11,6 @@
CONFIG_DIR=arch/${ARCH}/configs
BRANCH=msm-kernel
CONFIG_TARGET=msm.${MSM_ARCH}
################################################################################
@ -72,14 +71,6 @@ if [ -z "${VARIANT}" ] || [ "${VARIANT}" == "default" ]; then
VARIANT="${VARIANTS[0]}"
fi
if [ ! -z $MSM_ARCH ]; then
BRANCH+=-${MSM_ARCH}
fi
if [ ! -z $VARIANT ]; then
BRANCH+=-${VARIANT}
fi
if ( for v in "${VARIANTS[@]}"; do if [ "${v}" = "${VARIANT}" ]; then exit 1; fi; done; exit 0 ) ; then
echo "Unsupported variant '${VARIANT}'"
exit 1