Add mbtk_ril V2 (Default close)
Change-Id: Iaa5921fd74aeeb394771110f0cec7aa7742dc83a
diff --git a/build.sh b/build.sh
index 038f8ac..fd48038 100755
--- a/build.sh
+++ b/build.sh
@@ -35,6 +35,13 @@
export BUILD_STD_LIBC=glibc
fi
+MBTK_SOURCE_VERSION_TEMP=`cat config | grep CONFIG_MBTK_SOURCE_VERSION | cut -d '=' -f 2`
+if [ "$MBTK_SOURCE_VERSION_TEMP" == "2" ];then
+ export MBTK_SOURCE_VERSION=2
+else
+ export MBTK_SOURCE_VERSION=1
+fi
+
if [ "$BUILD_PLATFORM" == "master" ];then
if [ "`echo $BUILD_PROJECT_TEMP | cut -c 1-4`" == "L509" ];then
export BUILD_PROJECT=L509
@@ -227,6 +234,7 @@
{
echo BUILD_PROJECT=$BUILD_PROJECT
echo BUILD_STD_LIBC=$BUILD_STD_LIBC
+ echo MBTK_SOURCE_VERSION=$MBTK_SOURCE_VERSION
echo MBTK_GNSS_MODE=$MBTK_GNSS_MODE
echo MBTK_AF_SUPPORT=$MBTK_AF_SUPPORT
echo MBTK_YX_SUPPORT=$MBTK_YX_SUPPORT