From 910e2f076073dcc98c0345ba4ec25288373c7929 Mon Sep 17 00:00:00 2001 From: Marcus Comstedt Date: Sat, 8 Jan 2011 20:51:25 +0000 Subject: DC: Sync legacy makefile with recent changes svn-id: r55173 --- backends/platform/dc/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'backends/platform/dc') 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 -- cgit v1.2.3