#!/bin/bash | |
rm -rf ./build/tmp/deploy/images/sdk/downloads | |
rm -rf ./build/tmp/deploy/images/sdk/meta-sdk.tar.gz | |
rm -rf ./build/tmp/deploy/images/sdk/meta | |
TOPDIR=$(pwd) | |
ln -s ${TOPDIR}/downloads ./build/tmp/deploy/images/sdk/downloads | |
ln -s ${TOPDIR}/meta-sdk/meta-sdk.tar.gz ./build/tmp/deploy/images/sdk/meta-sdk.tar.gz | |
cd ${TOPDIR}/build/tmp/deploy/images/sdk/ | |
tar -xzvf ./meta-sdk.tar.gz ./ | |
sleep 2s | |
. ./env-SDK.sh | |
cd ../ | |
./make.sh |