#!/bin/bash | |
rm -rf ./build/tmp/deploy/images/sdk/downloads | |
rm -rf ./build/tmp/deploy/images/sdk/meta | |
TOPDIR=$(pwd) | |
ln -s ${TOPDIR}/downloads ./build/tmp/deploy/images/sdk/downloads | |
cp -r ${TOPDIR}/meta-sdk/* ./build/tmp/deploy/images/sdk/ | |
cd ${TOPDIR}/build/tmp/deploy/images/sdk/ | |
sleep 2s | |
chmod 777 env-SDK-2CORE.sh | |
. ./env-SDK-2CORE.sh | |
cd ../ | |
chmod 777 make.sh | |
./make.sh |