summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@theqtcompany.com>2015-12-14 15:32:20 +0200
committerSamuli Piippo <samuli.piippo@theqtcompany.com>2015-12-29 11:08:31 +0000
commit582ab675784f07f84e22f5d15ea516261d2a05f9 (patch)
treea63250aff5e645282b1e5ddf9db68dfe0c4a4a50
parentdd3f18a602afafce21bcf96f1894dc0dfacf54e1 (diff)
downloadmeta-boot2qt-582ab675784f07f84e22f5d15ea516261d2a05f9.tar.gz
Rename toolchain output file
Rename the toolchain output to use both SDKMACHINE and MACHINE in the name, so that we don't need to rename it when uploading. This also adds -mingw32 into the windows SDK name. Change-Id: Id70c8bc456a15d263579eefdaa2a0e136741d0ba Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
-rw-r--r--conf/distro/b2qt.conf4
-rwxr-xr-xscripts/upload.sh4
2 files changed, 7 insertions, 1 deletions
diff --git a/conf/distro/b2qt.conf b/conf/distro/b2qt.conf
index 33a335a..8dddfe6 100644
--- a/conf/distro/b2qt.conf
+++ b/conf/distro/b2qt.conf
@@ -26,6 +26,10 @@ DISTRO = "b2qt"
26DISTRO_NAME = "Boot to Qt for Embedded Linux" 26DISTRO_NAME = "Boot to Qt for Embedded Linux"
27SDK_VERSION := "${DISTRO_VERSION}" 27SDK_VERSION := "${DISTRO_VERSION}"
28 28
29SDK_MACHINE = "${@d.getVar('SDKMACHINE', True) or '${SDK_ARCH}'}"
30SDK_NAME = "${DISTRO}-${SDK_MACHINE}-${IMAGE_BASENAME}"
31TOOLCHAIN_OUTPUTNAME = "${SDK_NAME}-${MACHINE}"
32
29MAINTAINER = "B2Qt <B2Qt@digia.com>" 33MAINTAINER = "B2Qt <B2Qt@digia.com>"
30 34
31SANITY_TESTED_DISTROS += " \ 35SANITY_TESTED_DISTROS += " \
diff --git a/scripts/upload.sh b/scripts/upload.sh
index a53bae6..e9dce02 100755
--- a/scripts/upload.sh
+++ b/scripts/upload.sh
@@ -50,4 +50,6 @@ if [ -e b2qt-${PROJECT}-qt5-image-${MACHINE}.7z ]; then
50 rsync b2qt-${PROJECT}-qt5-image-${MACHINE}.7z ${UPLOADPATH}/ 50 rsync b2qt-${PROJECT}-qt5-image-${MACHINE}.7z ${UPLOADPATH}/
51fi 51fi
52 52
53rsync tmp/deploy/sdk/b2qt-glibc-x86_64-meta-toolchain-b2qt-${PROJECT}-qt5-sdk-*.sh ${UPLOADPATH}/b2qt-x86_64-${PROJECT}-toolchain-${MACHINE}.sh 53if [ -e tmp/deploy/sdk/b2qt-x86_64-meta-toolchain-b2qt-${PROJECT}-qt5-sdk-${MACHINE}.sh ]; then
54 rsync tmp/deploy/sdk/b2qt-x86_64-meta-toolchain-b2qt-${PROJECT}-qt5-sdk-${MACHINE}.sh ${UPLOADPATH}/
55fi