diff options
Diffstat (limited to 'backends/platform')
-rw-r--r-- | backends/platform/dc/dreamcast.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/backends/platform/dc/dreamcast.mk b/backends/platform/dc/dreamcast.mk index 2f9d0047f4..cb62607af6 100644 --- a/backends/platform/dc/dreamcast.mk +++ b/backends/platform/dc/dreamcast.mk @@ -10,8 +10,12 @@ ASFLAGS := $(CXXFLAGS) dist : SCUMMVM.BIN plugin_dist plugin_dist : plugins - for p in $(PLUGINS); do \ - sh-elf-strip -g -o "`basename \"$$p\" | LC_CTYPE=C tr '[:lower:]' '[:upper:]'`" "$$p"; \ + @for p in $(PLUGINS); do \ + t="`basename \"$$p\" | LC_CTYPE=C tr '[:lower:]' '[:upper:]'`"; \ + if /usr/bin/test "$$p" -ot "$$t"; then :; else \ + echo sh-elf-strip -g -o "$$t" "$$p"; \ + sh-elf-strip -g -o "$$t" "$$p"; \ + fi;\ done SCUMMVM.BIN : scummvm.bin |