diff options
author | Pasi Petäjäjärvi <pasi.petajajarvi@digia.com> | 2013-02-11 15:16:18 (GMT) |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-02-13 10:00:28 (GMT) |
commit | 841dd0b9486150b7cbccbab41553ab6b4d13627d (patch) | |
tree | 538439a2bb0b060968c5325f36d43c320d5e14d9 /configure | |
parent | e9987783a170cc478b17be1f544fe67f1ac745a2 (diff) | |
download | Qt-841dd0b9486150b7cbccbab41553ab6b4d13627d.zip Qt-841dd0b9486150b7cbccbab41553ab6b4d13627d.tar.gz Qt-841dd0b9486150b7cbccbab41553ab6b4d13627d.tar.bz2 |
Create default install prefix location for QtEmbedded with VxWorks
VxWorks has two different targets (modes) for which Qt can be build.
DKM mode is static build and RTP is using shared libraries. Distinguish
these two if we are creating default install prefix. Not applicable to
Qt5 as it does not anymore make separation for QtEmbedded build.
Change-Id: Icaff82a1d3078e8882ae5dbe9b2e60bc4a419b66
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -3612,7 +3612,17 @@ if [ -z "$QT_INSTALL_PREFIX" ]; then QT_INSTALL_PREFIX="/usr/local/Trolltech/QtEmbedded-${QT_VERSION}" fi if [ "$PLATFORM" != "$XPLATFORM" ]; then - QT_INSTALL_PREFIX="${QT_INSTALL_PREFIX}-${CFG_ARCH}" + case "$XPLATFORM" in + *dkm*) + QT_INSTALL_PREFIX="${QT_INSTALL_PREFIX}-${CFG_ARCH}-dkm" # VxWorks DKM + ;; + *rtp*) + QT_INSTALL_PREFIX="${QT_INSTALL_PREFIX}-${CFG_ARCH}-rtp" # VxWorks RTP + ;; + *) + QT_INSTALL_PREFIX="${QT_INSTALL_PREFIX}-${CFG_ARCH}" + ;; + esac fi elif [ -d "$EPOCROOT" ] && [ "$XPLATFORM_SYMBIAN" = "yes" ]; then if [ "$XPLATFORM_SYMBIAN" = "yes" ]; then |