aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorD G Turner2014-04-29 03:26:53 +0100
committerD G Turner2014-04-29 03:26:53 +0100
commitbfc9afbb3290a05b442ffbb5c467ccdf559b722e (patch)
tree85bf43676593d7bc213a3781f09e53022a824d25 /configure
parent6c2a7f0ca3df2dcce4d1050a3d93c883a8faad52 (diff)
downloadscummvm-rg350-bfc9afbb3290a05b442ffbb5c467ccdf559b722e.tar.gz
scummvm-rg350-bfc9afbb3290a05b442ffbb5c467ccdf559b722e.tar.bz2
scummvm-rg350-bfc9afbb3290a05b442ffbb5c467ccdf559b722e.zip
PS2: Add support for building against old SDK if PS2SDK_OLD envvar set.
This will allow compilation using the older SDK until the buildbot PS2 toolchain SDK can be upgraded and we can confirm the newer SDK builds are working correctly.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index b901943c7e..f0c01cea42 100755
--- a/configure
+++ b/configure
@@ -2316,7 +2316,9 @@ case $_host_os in
CXXFLAGS="$CXXFLAGS -G2"
DEFINES="$DEFINES -D_EE"
DEFINES="$DEFINES -D__PLAYSTATION2__"
- DEFINES="$DEFINES -D__NEW_PS2SDK__"
+ if test -z "$PS2SDK_OLD"; then
+ DEFINES="$DEFINES -D__NEW_PS2SDK__"
+ fi
;;
ps3)
# Force use of SDL and freetype from the ps3 toolchain