aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-osmocom/meta/meta-toolchain-osmo.bb8
1 files changed, 7 insertions, 1 deletions
diff --git a/recipes-osmocom/meta/meta-toolchain-osmo.bb b/recipes-osmocom/meta/meta-toolchain-osmo.bb
index e8746f8..0350005 100644
--- a/recipes-osmocom/meta/meta-toolchain-osmo.bb
+++ b/recipes-osmocom/meta/meta-toolchain-osmo.bb
@@ -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
}