diff options
author | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2015-12-14 15:32:20 +0200 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2015-12-29 11:08:31 +0000 |
commit | 582ab675784f07f84e22f5d15ea516261d2a05f9 (patch) | |
tree | a63250aff5e645282b1e5ddf9db68dfe0c4a4a50 | |
parent | dd3f18a602afafce21bcf96f1894dc0dfacf54e1 (diff) | |
download | meta-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.conf | 4 | ||||
-rwxr-xr-x | scripts/upload.sh | 4 |
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" | |||
26 | DISTRO_NAME = "Boot to Qt for Embedded Linux" | 26 | DISTRO_NAME = "Boot to Qt for Embedded Linux" |
27 | SDK_VERSION := "${DISTRO_VERSION}" | 27 | SDK_VERSION := "${DISTRO_VERSION}" |
28 | 28 | ||
29 | SDK_MACHINE = "${@d.getVar('SDKMACHINE', True) or '${SDK_ARCH}'}" | ||
30 | SDK_NAME = "${DISTRO}-${SDK_MACHINE}-${IMAGE_BASENAME}" | ||
31 | TOOLCHAIN_OUTPUTNAME = "${SDK_NAME}-${MACHINE}" | ||
32 | |||
29 | MAINTAINER = "B2Qt <B2Qt@digia.com>" | 33 | MAINTAINER = "B2Qt <B2Qt@digia.com>" |
30 | 34 | ||
31 | SANITY_TESTED_DISTROS += " \ | 35 | SANITY_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}/ |
51 | fi | 51 | fi |
52 | 52 | ||
53 | rsync tmp/deploy/sdk/b2qt-glibc-x86_64-meta-toolchain-b2qt-${PROJECT}-qt5-sdk-*.sh ${UPLOADPATH}/b2qt-x86_64-${PROJECT}-toolchain-${MACHINE}.sh | 53 | if [ -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}/ | ||
55 | fi | ||