meta-toolchain-osmo: Attempt to fix it for master

For master we need to change to SDKDEPLOYDIR to add the symlink
we want. Try to keep it working for dora.
This commit is contained in:
Holger Hans Peter Freyther 2017-04-05 09:41:20 +02:00
parent 2b3379dfc2
commit 0319396ca8
1 changed files with 7 additions and 1 deletions

View File

@ -13,7 +13,13 @@ do_populate_sdk_append() {
create_symlink() {
cd ${SDK_DEPLOY}/
# master or dora?
if [ -e ${SDKDEPLOYDIR}/${TOOLCHAIN_OUTPUTNAME}.sh ]; then
cd ${SDKDEPLOYDIR}/
else
cd ${SDK_DEPLOY}/
fi
rm -f ${TOOLCHAIN_OUTPUT_BASENAME}.sh
ln -s ${TOOLCHAIN_OUTPUTNAME}.sh ${TOOLCHAIN_OUTPUT_BASENAME}.sh
}