summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorPasi Petäjäjärvi <pasi.petajajarvi@digia.com>2013-02-11 17:16:18 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-13 11:00:28 +0100
commit841dd0b9486150b7cbccbab41553ab6b4d13627d (patch)
tree538439a2bb0b060968c5325f36d43c320d5e14d9 /configure
parente9987783a170cc478b17be1f544fe67f1ac745a2 (diff)
downloadqt4-tools-841dd0b9486150b7cbccbab41553ab6b4d13627d.tar.gz
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-xconfigure12
1 files changed, 11 insertions, 1 deletions
diff --git a/configure b/configure
index b52bc02050..164871021e 100755
--- a/configure
+++ b/configure
@@ -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