Update mbtk_toolchain

Change-Id: Ic72d113943f2ac549a042cd2badb52c3842acc43
diff --git a/build.sh b/build.sh
index abbec2a..625da97 100755
--- a/build.sh
+++ b/build.sh
@@ -250,6 +250,7 @@
 		cp -r mbtk/toolchain/linux64/usr/include/* mbtk/toolchain/linux64/include/
 		cp -drf $DIR_BUILD_TARGET/audio/obj/olibs/* mbtk/toolchain/linux64/usr/lib/
 		cp -r marvell/services/audio_if/include/* mbtk/toolchain/linux64/include/
+		cp -r mbtk/rootfs/usr/lib/* mbtk/toolchain/linux64/usr/lib/
 		
 		cp -r marvell/services/ril/include/* mbtk/toolchain/linux64/include/
 		cp -r marvell/services/audio/include/* mbtk/toolchain/linux64/include/
@@ -423,8 +424,8 @@
 	
 	echo "Delete unnecessary files..."
 	# rm -rf $MBTK_TOOLCHAIN_DIR/toolchain/usr
-	rm -rf $MBTK_TOOLCHAIN_DIR/toolchain/initial
-	rm $MBTK_TOOLCHAIN_DIR/toolchain/include.zip
+	[ -d $MBTK_TOOLCHAIN_DIR/toolchain/initial ] && rm -rf $MBTK_TOOLCHAIN_DIR/toolchain/initial
+	[ -f $MBTK_TOOLCHAIN_DIR/toolchain/include.zip ] && rm $MBTK_TOOLCHAIN_DIR/toolchain/include.zip
 	
 	echo "Start packaging toolchain..."
 	tar -zcf mbtk_toolchain.tar.gz mbtk_toolchain/
diff --git a/mbtk/mbtk_toolchain_config/Make.defines b/mbtk/mbtk_toolchain_config/Make.defines
index 4d6a1df..0cf943f 100755
--- a/mbtk/mbtk_toolchain_config/Make.defines
+++ b/mbtk/mbtk_toolchain_config/Make.defines
@@ -13,8 +13,8 @@
 

 export STAGING_DIR=

 

-CC=$(BUILD_TOOLCHAIN_DIR)/bin/arm-openwrt-linux-gnueabi-gcc

-AR=$(BUILD_TOOLCHAIN_DIR)/bin/arm-openwrt-linux-gnueabi-ar

+CC=$(BUILD_TOOLCHAIN_DIR)/bin/arm-openwrt-linux-muslgnueabi-gcc

+AR=$(BUILD_TOOLCHAIN_DIR)/bin/arm-openwrt-linux-muslgnueabi-ar

 

 MAKE=make