#!/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 -xvf ./meta-sdk.tar.gz | |
sleep 2s | |
chmod 777 env-SDK.sh | |
. ./env-SDK.sh | |
cd ../ | |
chmod 777 make.sh | |
./make.sh |