From 34e835a20ca648b0fd2e67cefc84511c1dab6217 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Sun, 1 Dec 2019 17:19:50 +0100 Subject: 3DS: Implement dynamic plugins Allows a full build to run on old generation devices --- configure | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'configure') 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\\\"" -- cgit v1.2.3