summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorTomasz Olszak <olszak.tomasz@gmail.com>2015-02-26 15:41:35 +0100
committerTomasz Olszak <olszak.tomasz@gmail.com>2015-02-26 15:41:35 +0100
commitf92494471b41bdbe66532ed5837e1e825671a3a7 (patch)
tree92f1327507a1864a36489cccba1b06b01f9470cd /configure
parentb756e6e57882751e130950ef838149ebfcd11e2d (diff)
Added handling of Tizen 2.3 Mobile cross-compilation and deployment.
Mkspec and configure refactored similar to Android. Change-Id: I311af56ca9060d933905b876975e83113c685270 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure b/configure
index e877e08978..ab4298fa00 100755
--- a/configure
+++ b/configure
@@ -710,6 +710,7 @@ XPLATFORM_IOS=no # Whether target platform is iOS
XPLATFORM_ANDROID=no
XPLATFORM_MINGW=no # Whether target platform is MinGW (win32-g++*)
XPLATFORM_QNX=no
+XPLATFORM_TIZEN=no
PLATFORM=$QMAKESPEC
QT_CROSS_COMPILE=no
OPT_CONFIRM_LICENSE=no
@@ -2789,6 +2790,9 @@ case "$XPLATFORM" in
*android-g++*)
XPLATFORM_ANDROID=yes
;;
+ *tizen*)
+ XPLATFORM_TIZEN=yes
+ ;;
esac
#-------------------------------------------------------------------------------
@@ -3229,6 +3233,11 @@ if [ -n "$CFG_SYSROOT" ] && [ "$CFG_GCC_SYSROOT" = "yes" ]; then
else
SYSROOT_FLAG=
fi
+
+if [ "$XPLATFORM_TIZEN" = "yes" -a -n "$TIZEN_SYSROOT" ]; then
+ SYSROOT_FLAG="--sysroot=$TIZEN_SYSROOT"
+fi
+
export SYSROOT_FLAG # used by config.tests/unix/{compile.test,arch.test}
# auto-detect precompiled header support