Add toolchain and mbtk source

Change-Id: Ie12546301367ea59240bf23d5e184ad7e36e40b3
diff --git a/build.sh b/build.sh
new file mode 100755
index 0000000..de85e78
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,37 @@
+#!/bin/bash
+
+# Config item.
+# static / shared
+LIB_TYPE=static
+# gcc-4.9 / gcc-8.4
+PLATFORM=gcc-4.9
+
+ROOT_DIR=`pwd`
+TOOLCHAIN_DIR=$ROOT_DIR/toolchain/$BUILD_PLATFORM
+echo "toolchain : $ROOT_DIR"
+
+if [ ! -d out/bin ];then
+	mkdir -p out/bin
+fi
+
+if [ ! -d out/lib ];then
+	mkdir -p out/lib
+fi
+
+cd mbtk
+
+if [ -n "$1" ] ;then
+	case "$1" in
+		clean)
+			make clean
+			;;
+		*)
+			exit 1;;
+	esac
+else	# 无参数
+	make
+fi
+
+cd $ROOT_DIR
+
+echo "Build complete."
\ No newline at end of file