aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorKlaus Reimer2011-04-03 00:01:26 +0200
committerMax Horn2011-04-12 11:05:17 +0200
commit7c5c6803abe774cd77dcc38dd4ede00e7eec76e4 (patch)
treefe6df8e0f20bec5bc71eae00cd8a4c8de4655f1c /configure
parent72d206dc738b41379d468f9f256c3225e20425f0 (diff)
downloadscummvm-rg350-7c5c6803abe774cd77dcc38dd4ede00e7eec76e4.tar.gz
scummvm-rg350-7c5c6803abe774cd77dcc38dd4ede00e7eec76e4.tar.bz2
scummvm-rg350-7c5c6803abe774cd77dcc38dd4ede00e7eec76e4.zip
WEBOS: Add webos backend
IPK can be built with "make webosrelease".
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure28
1 files changed, 23 insertions, 5 deletions
diff --git a/configure b/configure
index c732ecce44..1cec7db176 100755
--- a/configure
+++ b/configure
@@ -655,7 +655,7 @@ Configuration:
-h, --help display this help and exit
--backend=BACKEND backend to build (android, dc, dingux, ds, gp2x, gph,
iphone, linuxmoto, maemo, n64, null, openpandora, ps2,
- psp, samsungtv, sdl, symbian, wii, wince) [sdl]
+ psp, samsungtv, sdl, symbian, webos, wii, wince) [sdl]
Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
@@ -1669,11 +1669,8 @@ case $_host_os in
;;
webos)
CXXFLAGS="$CXXFLAGS --sysroot=$WEBOS_PDK/arm-gcc/sysroot"
- CXXFLAGS="$CXXFLAGS -I$WEBOS_PDK/include/SDL"
- CXXFLAGS="$CXXFLAGS -DWEBOS"
LDFLAGS="$LDFLAGS -L$WEBOS_PDK/device/lib"
LDFLAGS="$LDFLAGS -Wl,--allow-shlib-undefined"
- LIBS="$LIBS -lSDL -lpdl"
add_line_to_config_mk "WEBOS_SDK = $WEBOS_SDK"
_unix=yes
_seq_midi=no
@@ -2056,6 +2053,21 @@ if test -n "$_host"; then
_mt32emu=no
_vkeybd=yes
;;
+ webos)
+ _unix=yes
+ _need_memalign=yes
+ add_line_to_config_mk 'USE_ARM_SOUND_ASM = 1'
+ add_line_to_config_mk 'USE_ARM_SMUSH_ASM = 1'
+ add_line_to_config_mk 'USE_ARM_GFX_ASM = 1'
+ add_line_to_config_mk 'USE_ARM_COSTUME_ASM = 1'
+ add_line_to_config_mk 'USE_ARM_SCALER_ASM = 1'
+ _backend="webos"
+ _port_mk="backends/platform/webos/webos.mk"
+ _build_scalers=no
+ _timidity=no
+ _mt32emu=no
+ _seq_midi=no
+ ;;
wii)
_endian=big
_need_memalign=yes
@@ -2142,7 +2154,7 @@ fi
# Enable 16bit support only for backends which support it
#
case $_backend in
- android | dingux | dreamcast | gph | openpandora | psp | samsungtv | sdl | wii)
+ android | dingux | dreamcast | gph | openpandora | psp | samsungtv | sdl | webos | wii)
if test "$_16bit" = auto ; then
_16bit=yes
else
@@ -3118,6 +3130,12 @@ case $_backend in
LIBS="$LIBS `$_sdlconfig --prefix="$_sdlpath" --libs`"
DEFINES="$DEFINES -DSDL_BACKEND"
;;
+ webos)
+ INCLUDES="$INCLUDES -I$WEBOS_PDK/include/SDL"
+ LIBS="$LIBS -lSDL -lpdl"
+ DEFINES="$DEFINES -DWEBOS -DSDL_BACKEND"
+ MODULES="$MODULES backends/platform/sdl"
+ ;;
wii)
DEFINES="$DEFINES -D__WII__ -DGEKKO"
case $_host_os in