blob: 3f575095a9b0c7d7fa36da46d7bd136bdbd62266 [file] [log] [blame]
xjf5e49602021-11-29 16:51:16 +08001#!/bin/bash
2rm -rf ./build/tmp/deploy/images/sdk/downloads
3rm -rf ./build/tmp/deploy/images/sdk/meta-sdk.tar.gz
4rm -rf ./build/tmp/deploy/images/sdk/meta
5TOPDIR=$(pwd)
6ln -s ${TOPDIR}/downloads ./build/tmp/deploy/images/sdk/downloads
7ln -s ${TOPDIR}/meta-sdk/meta-sdk.tar.gz ./build/tmp/deploy/images/sdk/meta-sdk.tar.gz
8cd ${TOPDIR}/build/tmp/deploy/images/sdk/
rjw3df17c52022-01-11 16:48:32 +08009tar -xvf ./meta-sdk.tar.gz
xjf5e49602021-11-29 16:51:16 +080010sleep 2s
rjw923db7e2022-01-11 18:53:22 +080011chmod 777 env-SDK.sh
xjf5e49602021-11-29 16:51:16 +080012. ./env-SDK.sh
13cd ../
rjw923db7e2022-01-11 18:53:22 +080014chmod 777 make.sh
xjf5e49602021-11-29 16:51:16 +080015./make.sh