[Feature][T106]add script to make T106
Change-Id: Id7d51de6b9082b421d74253ccdf15d4a00fa7d6a
diff --git a/mk_T106.sh b/mk_T106.sh
new file mode 100644
index 0000000..145e993
--- /dev/null
+++ b/mk_T106.sh
@@ -0,0 +1,34 @@
+#!/bin/bash
+TOP=$(pwd)
+source update_version.sh
+
+cd ap/project/zx297520v3/prj_vehicle_dc/build/
+make allclean all
+cd ../../../../..
+cd boot/prj/zx297520v3/vehicle_dc/build/
+make allclean all
+cd ../../../../..
+cd cap/zx297520v3/
+#ln -s ~/T106_downloads/downloads/ ./
+DISTRO=vehicle_dc MACHINE=zx297520v3 source zxic-setup-release.sh -b build-vehicle_dc
+bitbake zxic-image && bitbake mkimgsig
+cd ${TOP}/allbins/zx297520v3/prj_vehicle/scripts_linux
+bash copybin_vehicle_dc.sh
+cd ${TOP}/cap/zx297520v3
+bitbake zxic-image -c populate_sdk_ext
+cd ${TOP}
+cp esdk_patch/mk_esdk.sh cap/zx297520v3/build-vehicle_dc/tmp/deploy/sdk/
+cp esdk_patch/linux_bb.diff cap/zx297520v3/build-vehicle_dc/tmp/deploy/sdk/
+mkdir cap/zx297520v3/build-vehicle_dc/tmp/deploy/sdk/upstream
+cp -R pub cap/zx297520v3/build-vehicle_dc/tmp/deploy/sdk/upstream/
+cp -R tools cap/zx297520v3/build-vehicle_dc/tmp/deploy/sdk/upstream/
+cp -R cap/zx297520v3/zxic_code/zxic_source/linux-5.10 cap/zx297520v3/build-vehicle_dc/tmp/deploy/sdk/upstream/
+cd cap/zx297520v3/build-vehicle_dc/tmp/deploy/sdk/
+tar -czvf upstream.tar.gz upstream
+mkdir do_package_tool
+cd ${TOP}
+cp -R allbins cap/zx297520v3/build-vehicle_dc/tmp/deploy/sdk/do_package_tool/
+cd cap/zx297520v3/build-vehicle_dc/tmp/deploy/sdk/
+tar -czvf do_package_tool.tar.gz do_package_tool
+rm -rf do_package_tool upstream
+tar -czvf T106_esdk.tar.gz ./*