aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
authorMarcus Comstedt2011-01-08 20:51:25 +0000
committerMarcus Comstedt2011-01-08 20:51:25 +0000
commit910e2f076073dcc98c0345ba4ec25288373c7929 (patch)
tree90536a21d581702c78ffdf9a8a86c1930636b5f9 /backends/platform
parent59945ac2d03f77e829669922e3b48fb91818444a (diff)
downloadscummvm-rg350-910e2f076073dcc98c0345ba4ec25288373c7929.tar.gz
scummvm-rg350-910e2f076073dcc98c0345ba4ec25288373c7929.tar.bz2
scummvm-rg350-910e2f076073dcc98c0345ba4ec25288373c7929.zip
DC: Sync legacy makefile with recent changes
svn-id: r55173
Diffstat (limited to 'backends/platform')
-rw-r--r--backends/platform/dc/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/backends/platform/dc/Makefile b/backends/platform/dc/Makefile
index 4494e8da78..637f474b4b 100644
--- a/backends/platform/dc/Makefile
+++ b/backends/platform/dc/Makefile
@@ -21,8 +21,8 @@ DEPDIR = .deps
CXX_UPDATE_DEP_FLAG = -Wp,-MMD,"$(*D)/$(DEPDIR)/$(*F).d",-MQ,"$@",-MP
PLUGIN_PREFIX =
PLUGIN_SUFFIX = .plg
-PLUGIN_EXTRA_DEPS = plugin.x plugin.syms scummvm.elf
-PLUGIN_LDFLAGS = -nostartfiles -Wl,-q,-Tplugin.x,--just-symbols,scummvm.elf,--retain-symbols-file,plugin.syms -L$(ronindir)/lib
+PLUGIN_EXTRA_DEPS = plugin.x plugin.syms scummvm.elf plugin_head.o
+PLUGIN_LDFLAGS = -nostartfiles -Wl,-q,-Tplugin.x,--just-symbols,scummvm.elf,--retain-symbols-file,plugin.syms -L$(ronindir)/lib plugin_head.o
MKDIR = mkdir -p
RM = rm -f
RM_REC = rm -rf
@@ -81,7 +81,9 @@ SCUMMVM.BIN : scummvm.bin
plugin_dist : plugins
for p in $(PLUGINS); do \
- sh-elf-strip -g -o "`basename \"$$p\" | LC_CTYPE=C tr '[:lower:]' '[:upper:]'`" "$$p"; \
+ t="`basename \"$$p\" | LC_CTYPE=C tr '[:lower:]' '[:upper:]'`"; \
+ sh-elf-strip -g -o "$$t" "$$p"; \
+ ./check_plugin_symbols "$$t"; \
done
dist : SCUMMVM.BIN plugin_dist