Add toolchain gcc-4.9-rls3895

Change-Id: I074d1ed16182b5c95e714e993f02989814c0e055
diff --git a/build.sh b/build.sh
index 2691cb2..bc4e133 100755
--- a/build.sh
+++ b/build.sh
@@ -10,16 +10,22 @@
 export BUILD_LIB_TYPE=shared
 # gcc-4.9 / gcc-8.4
 
-grep "url" ../.git/config | cut -d " " -f 3 | grep "kernel_5.4.195"
+ROOT_DIR=`pwd`
+
+cd ..
+grep "url" .git/config | cut -d " " -f 3 | grep "kernel_5.4.195"
 if [ $? -eq "0" ]; then
 	export BUILD_PLATFORM=asr1806
 else
 	export BUILD_PLATFORM=asr1803
 fi
 
+export BUILD_BRANCH=`git branch | grep "*" | cut -d " " -f 2`
+cd $ROOT_DIR
+
 export STAGING_DIR=
 
-ROOT_DIR=`pwd`
+
 #TOOLCHAIN_DIR=$ROOT_DIR/toolchain/$BUILD_PLATFORM
 #echo "toolchain : $ROOT_DIR"