diff options
author | Hyokeun Jeon <hyokeun.jeon@samsung.com> | 2020-12-23 17:09:42 +0900 |
---|---|---|
committer | Hyokeun Jeon <hyokeun.jeon@samsung.com> | 2020-12-23 17:09:42 +0900 |
commit | 20b022b3c6d1f2f45fac3e14ea629fcb6429acbf (patch) | |
tree | 2af17e2d8d3ba76065cc5d0a58cdb131170f95a1 | |
parent | 5d05e7c56bae3be51b5e0a371d509883ecabd569 (diff) | |
download | abs-master.tar.gz abs-master.tar.bz2 abs-master.zip |
Use previous efl-tool before official SDK releaseHEADsandbox/hyokeun/testmaster
Change-Id: I0dd74795f1f2174563e7bb5498472da4850046d8
-rw-r--r-- | build.template | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/build.template b/build.template index f353cd8..88241e3 100644 --- a/build.template +++ b/build.template @@ -60,6 +60,22 @@ if [[ ! $rs_list =~ [0-9]{8}_[0-9] ]]; then echo ${rs_list}.${dateversion} > $SHARE_ROOT/rsver fi +#FIXME: Use previous efl-tool before official SDK release +top_platform=$(ls ${SDK_PATH}/platforms/ | sort -r | head -n1) +for pfm in $(ls ${SDK_PATH}/platforms/ | sort -r); do + if [[ -d ${SDK_PATH}/platforms/${pfm}/common/efl-tool ]]; then + if [ "${top_platform}" = "${pfm}" ]; then + echo "OK. We have efl-tool" + else + echo "Try link efl-tool from ${pfm}" + mkdir -p ${SDK_PATH}/platforms/${top_platform}/common/ || true + ln -s ${SDK_PATH}/platforms/${pfm}/common/efl-tool ${SDK_PATH}/platforms/${top_platform}/common/efl-tool || true + ln -s ${SDK_PATH}/platforms/${pfm}/common/tidl ${SDK_PATH}/platforms/${top_platform}/common/tidl || true + fi + break + fi +done + # Inject tidlc path TIDLC_PATH=`sed -n '/tidl/p' /home/build/.bashrc | cut -f2 -d':'` if [ ! -z ${TIDLC_PATH} ]; then echo "PATH=\$PATH:${TIDLC_PATH}" >> /home/build/.profile; fi |