blob: 3f575095a9b0c7d7fa36da46d7bd136bdbd62266 [file] [log] [blame]
#!/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