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/ |
rjw | 3df17c5 | 2022-01-11 16:48:32 +0800 | [diff] [blame] | 9 | tar -xvf ./meta-sdk.tar.gz |
xj | f5e4960 | 2021-11-29 16:51:16 +0800 | [diff] [blame] | 10 | sleep 2s |
rjw | 923db7e | 2022-01-11 18:53:22 +0800 | [diff] [blame] | 11 | chmod 777 env-SDK.sh |
xj | f5e4960 | 2021-11-29 16:51:16 +0800 | [diff] [blame] | 12 | . ./env-SDK.sh |
| 13 | cd ../ |
rjw | 923db7e | 2022-01-11 18:53:22 +0800 | [diff] [blame] | 14 | chmod 777 make.sh |
xj | f5e4960 | 2021-11-29 16:51:16 +0800 | [diff] [blame] | 15 | ./make.sh |