aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorKlaus Reimer2011-05-07 17:57:50 +0200
committerKlaus Reimer2011-05-08 17:37:31 +0200
commit869a6d42bdacff730d8d3aff0683a33b58dc5e1b (patch)
tree722aa2e97f86be740d36a837b776ffc88cb3a533 /configure
parent490e9a5cefe4fd993b64503cd0d16b496d164086 (diff)
downloadscummvm-rg350-869a6d42bdacff730d8d3aff0683a33b58dc5e1b.tar.gz
scummvm-rg350-869a6d42bdacff730d8d3aff0683a33b58dc5e1b.tar.bz2
scummvm-rg350-869a6d42bdacff730d8d3aff0683a33b58dc5e1b.zip
WEBOS: Added comments to explain some WebOS compile settings.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure b/configure
index d686bea856..759f073d99 100755
--- a/configure
+++ b/configure
@@ -1138,7 +1138,13 @@ webos)
_host_os=webos
_host_cpu=arm
_host_alias=arm-none-linux-gnueabi
+ # The prefix is always the same on WebOS so we hardcode the default
+ # here. It is still possible to define a custom prefix which is
+ # needed when packaging the app with a user-specific app ID.
test "x$prefix" = xNONE && prefix=/media/cryptofs/apps/usr/palm/applications/org.scummvm.scummvm
+ # WebOS apps are installed into app-specific directories. The
+ # default directory structure of ScummVM makes no sense here so we
+ # hardcode WebOS specific directories here.
datarootdir='${prefix}/data'
datadir='${datarootdir}'
docdir='${prefix}/doc'
@@ -2933,6 +2939,8 @@ case $_backend in
DEFINES="$DEFINES -DPLUGIN_DIRECTORY=\\\"../plugins\\\""
;;
webos)
+ # The WebOS app wants the plugins in the "lib" directory
+ # without a scummvm sub directory.
DEFINES="$DEFINES -DPLUGIN_DIRECTORY=\\\"$libdir\\\""
;;
*)
@@ -3113,6 +3121,7 @@ case $_backend in
DEFINES="$DEFINES -DSDL_BACKEND"
;;
webos)
+ # There is no sdl-config in the WebOS PDK so we don't use find_sdlconfig here.
LIBS="$LIBS -lSDL -lpdl"
DEFINES="$DEFINES -DSDL_BACKEND -DWEBOS"
MODULES="$MODULES backends/platform/sdl"