aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorBastien Bouclet2019-12-01 17:19:50 +0100
committerBastien Bouclet2019-12-01 17:19:50 +0100
commit34e835a20ca648b0fd2e67cefc84511c1dab6217 (patch)
tree97ba9b239a8fd9c9d8bba925b21262314de2f2c2 /configure
parenta51c23abd3a667811b01e90b0c8c53505021950a (diff)
downloadscummvm-rg350-34e835a20ca648b0fd2e67cefc84511c1dab6217.tar.gz
scummvm-rg350-34e835a20ca648b0fd2e67cefc84511c1dab6217.tar.bz2
scummvm-rg350-34e835a20ca648b0fd2e67cefc84511c1dab6217.zip
3DS: Implement dynamic plugins
Allows a full build to run on old generation devices
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure b/configure
index 141ad8880c..e2d1874f22 100755
--- a/configure
+++ b/configure
@@ -3986,6 +3986,13 @@ _mak_plugins=
if test "$_dynamic_modules" = yes ; then
echo_n "Checking whether building plugins is supported... "
case $_host_os in
+ 3ds)
+ _elf_loader=yes
+ append_var DEFINES "-DUNCACHED_PLUGINS"
+_mak_plugins='
+PLUGIN_LDFLAGS += -Wl,-T$(srcdir)/backends/plugins/3ds/plugin.ld -march=armv6k -mfloat-abi=hard
+'
+ ;;
amigaos)
_plugin_prefix="lib"
_plugin_suffix=".so"
@@ -5576,6 +5583,9 @@ case $_host_os in
esac
case $_backend in
+ 3ds)
+ append_var DEFINES "-DPLUGIN_DIRECTORY=\\\"$datadir/plugins\\\""
+ ;;
openpandora)
# Add ../plugins as a path so plugins can be found when running from a .PND.
append_var DEFINES "-DPLUGIN_DIRECTORY=\\\"../plugins\\\""