blob: 145e9931a17df540678448d5763c5ef5e012fd68 [file] [log] [blame]
xf.li60972982023-06-22 23:27:19 -07001#!/bin/bash
2TOP=$(pwd)
3source update_version.sh
4
5cd ap/project/zx297520v3/prj_vehicle_dc/build/
6make allclean all
7cd ../../../../..
8cd boot/prj/zx297520v3/vehicle_dc/build/
9make allclean all
10cd ../../../../..
11cd cap/zx297520v3/
12#ln -s ~/T106_downloads/downloads/ ./
13DISTRO=vehicle_dc MACHINE=zx297520v3 source zxic-setup-release.sh -b build-vehicle_dc
14bitbake zxic-image && bitbake mkimgsig
15cd ${TOP}/allbins/zx297520v3/prj_vehicle/scripts_linux
16bash copybin_vehicle_dc.sh
17cd ${TOP}/cap/zx297520v3
18bitbake zxic-image -c populate_sdk_ext
19cd ${TOP}
20cp esdk_patch/mk_esdk.sh cap/zx297520v3/build-vehicle_dc/tmp/deploy/sdk/
21cp esdk_patch/linux_bb.diff cap/zx297520v3/build-vehicle_dc/tmp/deploy/sdk/
22mkdir cap/zx297520v3/build-vehicle_dc/tmp/deploy/sdk/upstream
23cp -R pub cap/zx297520v3/build-vehicle_dc/tmp/deploy/sdk/upstream/
24cp -R tools cap/zx297520v3/build-vehicle_dc/tmp/deploy/sdk/upstream/
25cp -R cap/zx297520v3/zxic_code/zxic_source/linux-5.10 cap/zx297520v3/build-vehicle_dc/tmp/deploy/sdk/upstream/
26cd cap/zx297520v3/build-vehicle_dc/tmp/deploy/sdk/
27tar -czvf upstream.tar.gz upstream
28mkdir do_package_tool
29cd ${TOP}
30cp -R allbins cap/zx297520v3/build-vehicle_dc/tmp/deploy/sdk/do_package_tool/
31cd cap/zx297520v3/build-vehicle_dc/tmp/deploy/sdk/
32tar -czvf do_package_tool.tar.gz do_package_tool
33rm -rf do_package_tool upstream
34tar -czvf T106_esdk.tar.gz ./*