aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMarcus Comstedt2013-08-07 16:54:40 +0200
committerMarcus Comstedt2013-08-07 16:54:40 +0200
commit237ce0b89bc20d85f9bb4702e5c9aec7cf647f28 (patch)
tree5f1423374fac467a06badcf36ae4a93289d7a0a5 /configure
parent6e9390feb8166d5f9d6c6fdfe00a336b4f71de4c (diff)
downloadscummvm-rg350-237ce0b89bc20d85f9bb4702e5c9aec7cf647f28.tar.gz
scummvm-rg350-237ce0b89bc20d85f9bb4702e5c9aec7cf647f28.tar.bz2
scummvm-rg350-237ce0b89bc20d85f9bb4702e5c9aec7cf647f28.zip
CONFIGURE: Add --host=ouya to the special targets
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 9 insertions, 2 deletions
diff --git a/configure b/configure
index 1da7d7fb78..22e9653a72 100755
--- a/configure
+++ b/configure
@@ -862,6 +862,7 @@ Special configuration feature:
motomagx for MotoMAGX
n64 for Nintendo 64
openpandora for OpenPandora
+ ouya for OUYA
ps2 for PlayStation 2
ps3 for PlayStation 3
psp for PlayStation Portable
@@ -1256,7 +1257,7 @@ get_system_exe_extension $guessed_host
NATIVEEXEEXT=$_exeext
case $_host in
-android | android-v7a)
+android | android-v7a | ouya)
_host_os=android
_host_cpu=arm
_host_alias=arm-linux-androideabi
@@ -2038,6 +2039,12 @@ case $_host_os in
CXXFLAGS="$CXXFLAGS -mfpu=vfp"
LDFLAGS="$LDFLAGS -Wl,--fix-cortex-a8"
;;
+ ouya)
+ CXXFLAGS="$CXXFLAGS -march=armv7-a"
+ CXXFLAGS="$CXXFLAGS -mtune=cortex-a9"
+ CXXFLAGS="$CXXFLAGS -mfloat-abi=softfp"
+ CXXFLAGS="$CXXFLAGS -mfpu=neon"
+ ;;
esac
CXXFLAGS="$CXXFLAGS --sysroot=$ANDROID_NDK/platforms/android-4/arch-arm"
CXXFLAGS="$CXXFLAGS -fpic"
@@ -2308,7 +2315,7 @@ if test -n "$_host"; then
# Cross-compiling mode - add your target here if needed
echo "Cross-compiling to $_host"
case "$_host" in
- android | android-v7a)
+ android | android-v7a | ouya)
# we link a .so as default
LDFLAGS="$LDFLAGS -shared"
LDFLAGS="$LDFLAGS -Wl,-Bsymbolic,--no-undefined"