xj | f5e4960 | 2021-11-29 16:51:16 +0800 | [diff] [blame^] | 1 | #!/bin/bash |
2 | rm -rf ./build/tmp/deploy/images/sdk/downloads | ||||
3 | rm -rf ./build/tmp/deploy/images/sdk/meta-sdk.tar.gz | ||||
4 | rm -rf ./build/tmp/deploy/images/sdk/meta | ||||
5 | TOPDIR=$(pwd) | ||||
6 | ln -s ${TOPDIR}/downloads ./build/tmp/deploy/images/sdk/downloads | ||||
7 | ln -s ${TOPDIR}/meta-sdk/meta-sdk.tar.gz ./build/tmp/deploy/images/sdk/meta-sdk.tar.gz | ||||
8 | cd ${TOPDIR}/build/tmp/deploy/images/sdk/ | ||||
9 | tar -xzvf ./meta-sdk.tar.gz ./ | ||||
10 | sleep 2s | ||||
11 | . ./env-SDK.sh | ||||
12 | cd ../ | ||||
13 | ./make.sh |