From cf1fc8e08722790752176df0d875a1be8e9c3a32 Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Fri, 9 Jun 2017 19:16:00 +0200 Subject: Update application build to support multiarch builds and upload MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I1998a8a0ae8ad16029fb834e87f06cdc760426d1 Signed-off-by: Jan-Simon Möller --- jjb/common/include-apps-fetch-install-sdk.sh | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'jjb/common/include-apps-fetch-install-sdk.sh') diff --git a/jjb/common/include-apps-fetch-install-sdk.sh b/jjb/common/include-apps-fetch-install-sdk.sh index ad220501..b099d9a5 100644 --- a/jjb/common/include-apps-fetch-install-sdk.sh +++ b/jjb/common/include-apps-fetch-install-sdk.sh @@ -28,23 +28,22 @@ fi chmod a+x ${TARGETSDKNAME} -eval export TARGETSDKENVSCRIPT="${SDKHOSTDIR}/environment-setup-${TARGETSDKARCH}-agl-linux-gnueabi" - -if test ! -f ${TARGETSDKENVSCRIPT} ; then +if test x"" = x"$(eval ls ${SDKHOSTDIR}/environment-setup* | grep "agl-" | grep ${TARGETSDKARCH} 2>/dev/null)" ; then bash ${TARGETSDKNAME} -d ${SDKHOSTDIR}/ -y fi +#set -x + +# find out the env setup script +export TARGETSDKENVSCRIPT="$(eval ls ${SDKHOSTDIR}/environment-setup* | grep "agl-" | grep ${TARGETSDKARCH} 2>/dev/null)" + if test ! -f ${TARGETSDKENVSCRIPT} ; then echo "Script not there after extracting sdk ?!" echo "Abort." exit 1 fi +echo "About to source ${TARGETSDKENVSCRIPT}" source "${TARGETSDKENVSCRIPT}" +#set | grep -i sysroots || true +#set +x -echo "###############################################################################" -ls -alh ~/ -echo "###############################################################################" -ls -alh -echo "###############################################################################" -set -echo "###############################################################################" -- cgit 1.2.3-korg