[Scummvm-git-logs] scummvm branch-2-2 -> 1df182ae49c146fef9a9c3535c7b21b9972b454a
ccawley2011
ccawley2011 at gmail.com
Wed Sep 9 14:52:53 UTC 2020
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
1df182ae49 RISCOS: Add a VFP optimized target for newer hardware
Commit: 1df182ae49c146fef9a9c3535c7b21b9972b454a
https://github.com/scummvm/scummvm/commit/1df182ae49c146fef9a9c3535c7b21b9972b454a
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2020-09-09T15:52:38+01:00
Commit Message:
RISCOS: Add a VFP optimized target for newer hardware
Changed paths:
configure
diff --git a/configure b/configure
index b4abdbacf1..c92f26b543 100755
--- a/configure
+++ b/configure
@@ -1641,6 +1641,14 @@ androidsdl-x86_64)
_host_cpu=x86_64
_host_alias=x86_64-linux-android
;;
+arm-vfp-riscos)
+ _host_os=riscos
+ _host_cpu=arm
+ _host_alias=arm-unknown-riscos
+ datarootdir='/\<ScummVM\$$Dir\>'
+ datadir='${datarootdir}/data'
+ docdir='${datarootdir}/docs'
+ ;;
arm-*riscos)
_host_os=riscos
_host_cpu=arm
@@ -3081,19 +3089,12 @@ EOF
;;
riscos)
define_in_config_if_yes yes 'RISCOS'
- append_var LDFLAGS "-L$GCCSDK_INSTALL_ENV/lib"
- append_var CXXFLAGS "-isystem $GCCSDK_INSTALL_ENV/include"
- _pkgconfig=$GCCSDK_INSTALL_ENV/ro-pkg-config
- _sdlpath=$GCCSDK_INSTALL_ENV/bin
- _freetypepath=$GCCSDK_INSTALL_ENV/bin
- _libcurlpath=$GCCSDK_INSTALL_ENV/bin
- append_var CXXFLAGS "-march=armv3m"
- append_var CXXFLAGS "-mtune=xscale"
append_var LDFLAGS "-static"
_optimization_level=-O2
_port_mk="backends/platform/sdl/riscos/riscos.mk"
_pandoc=yes
_sdlconfig=sdl-config
+ _opengl_mode=none
;;
solaris*)
append_var DEFINES "-DSOLARIS"
@@ -3184,8 +3185,27 @@ if test -n "$_host"; then
;;
arm-linux|arm*-linux-gnueabi|arm-*-linux)
;;
+ arm-vfp-riscos)
+ append_var LDFLAGS "-L$GCCSDK_INSTALL_ENV/vfp/lib"
+ append_var CXXFLAGS "-isystem $GCCSDK_INSTALL_ENV/vfp/include"
+ _sdlpath=$GCCSDK_INSTALL_ENV/vfp/bin
+ _freetypepath=$GCCSDK_INSTALL_ENV/vfp/bin
+ _libcurlpath=$GCCSDK_INSTALL_ENV/vfp/bin
+ append_var CXXFLAGS "-march=armv6zk"
+ append_var CXXFLAGS "-mtune=cortex-a9"
+ append_var CXXFLAGS "-mfpu=vfp"
+ append_var LDFLAGS "-mfpu=vfp"
+ append_var ASFLAGS "-mfpu=vfp"
+ ;;
arm-*riscos)
- _opengl_mode=none
+ append_var LDFLAGS "-L$GCCSDK_INSTALL_ENV/lib"
+ append_var CXXFLAGS "-isystem $GCCSDK_INSTALL_ENV/include"
+ _pkgconfig=$GCCSDK_INSTALL_ENV/ro-pkg-config
+ _sdlpath=$GCCSDK_INSTALL_ENV/bin
+ _freetypepath=$GCCSDK_INSTALL_ENV/bin
+ _libcurlpath=$GCCSDK_INSTALL_ENV/bin
+ append_var CXXFLAGS "-march=armv3m"
+ append_var CXXFLAGS "-mtune=xscale"
_vorbis=no
;;
bfin*)
More information about the Scummvm-git-logs
mailing list