mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-18 16:03:05 +00:00
CONFIGURE: Add -DGPH_DEVICE to all the GPH device targets.
Also add wrapper around the plugin dir. for the OpenPandora from 1.2.0 branch. svn-id: r53640
This commit is contained in:
parent
4e936522ee
commit
f835d49e2a
26
configure
vendored
26
configure
vendored
@ -676,7 +676,7 @@ Fine tuning of the installation directories:
|
||||
Special configuration feature:
|
||||
--host=HOST cross-compile to target HOST (arm-linux, ...)
|
||||
special targets: android for Android
|
||||
caanoo for GP2X Caanoo
|
||||
caanoo for Caanoo
|
||||
dingux for Dingux
|
||||
dreamcast for Sega Dreamcast
|
||||
ds for Nintendo DS
|
||||
@ -1626,9 +1626,9 @@ if test -n "$_host"; then
|
||||
_need_memalign=yes
|
||||
;;
|
||||
caanoo)
|
||||
# This uses the GPH backend.
|
||||
DEFINES="$DEFINES -DGPH_DEVICE"
|
||||
DEFINES="$DEFINES -DCAANOO -DREDUCE_MEMORY_USAGE"
|
||||
# Disable DOSBOX OPL for now.
|
||||
DEFINES="$DEFINES -DDISABLE_DOSBOX_OPL"
|
||||
if test "$_debug_build" = yes; then
|
||||
DEFINES="$DEFINES -DGPH_DEBUG"
|
||||
else
|
||||
@ -1717,9 +1717,9 @@ if test -n "$_host"; then
|
||||
add_line_to_config_h "#define USE_WII_DI"
|
||||
;;
|
||||
gp2x)
|
||||
# This uses the GPH backend.
|
||||
DEFINES="$DEFINES -DGPH_DEVICE"
|
||||
DEFINES="$DEFINES -DGP2X -DREDUCE_MEMORY_USAGE"
|
||||
# Disable DOSBOX OPL for now.
|
||||
DEFINES="$DEFINES -DDISABLE_DOSBOX_OPL"
|
||||
if test "$_debug_build" = yes; then
|
||||
DEFINES="$DEFINES -DGPH_DEBUG"
|
||||
fi
|
||||
@ -1741,9 +1741,9 @@ if test -n "$_host"; then
|
||||
_port_mk="backends/platform/gp2x/gp2x-bundle.mk"
|
||||
;;
|
||||
gp2xwiz)
|
||||
# This uses the GPH backend.
|
||||
DEFINES="$DEFINES -DGPH_DEVICE"
|
||||
DEFINES="$DEFINES -DGP2XWIZ -DREDUCE_MEMORY_USAGE"
|
||||
# Disable DOSBOX OPL for now.
|
||||
DEFINES="$DEFINES -DDISABLE_DOSBOX_OPL"
|
||||
if test "$_debug_build" = yes; then
|
||||
DEFINES="$DEFINES -DGPH_DEBUG"
|
||||
fi
|
||||
@ -1861,8 +1861,6 @@ if test -n "$_host"; then
|
||||
;;
|
||||
openpandora)
|
||||
DEFINES="$DEFINES -DOPENPANDORA -DREDUCE_MEMORY_USAGE"
|
||||
# Disable DOSBOX OPL for now.
|
||||
DEFINES="$DEFINES -DDISABLE_DOSBOX_OPL"
|
||||
if test "$_release_build" = no; then
|
||||
DEFINES="$DEFINES -DOP_DEBUG"
|
||||
else
|
||||
@ -2675,8 +2673,16 @@ test "x$prefix" = xNONE && prefix=/usr/local
|
||||
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
||||
|
||||
DEFINES="$DEFINES -DDATA_PATH=\\\"$datadir\\\""
|
||||
DEFINES="$DEFINES -DPLUGIN_DIRECTORY=\\\"$libdir/scummvm\\\""
|
||||
|
||||
case $_backend in
|
||||
openpandora)
|
||||
# Add ../plugins as a path so plugins can be found when running from a .PND.
|
||||
DEFINES="$DEFINES -DPLUGIN_DIRECTORY=\\\"../plugins\\\""
|
||||
;;
|
||||
*)
|
||||
DEFINES="$DEFINES -DPLUGIN_DIRECTORY=\\\"$libdir/scummvm\\\""
|
||||
;;
|
||||
esac
|
||||
|
||||
#
|
||||
# Set variables for profiling.
|
||||
|
Loading…
x
Reference in New Issue
Block a user