diff options
author | Marcus Comstedt | 2009-05-21 11:49:47 +0000 |
---|---|---|
committer | Marcus Comstedt | 2009-05-21 11:49:47 +0000 |
commit | 2bf25c3865fe5c8ab3d40805c62275a8060b98a4 (patch) | |
tree | 073d0d4337fcc6a992b52a99fb781c2970432f42 /backends/platform | |
parent | 6bc543d4999f8f2c594d13e9d68fa3bdc53e668b (diff) | |
download | scummvm-rg350-2bf25c3865fe5c8ab3d40805c62275a8060b98a4.tar.gz scummvm-rg350-2bf25c3865fe5c8ab3d40805c62275a8060b98a4.tar.bz2 scummvm-rg350-2bf25c3865fe5c8ab3d40805c62275a8060b98a4.zip |
Micro-optimization: Don't re-strip plugins which are not modified.
svn-id: r40757
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 |