[Scummvm-cvs-logs] SF.net SVN: scummvm:[40757] scummvm/trunk/backends/platform/dc/dreamcast.mk

marcus_c at users.sourceforge.net marcus_c at users.sourceforge.net
Thu May 21 13:49:47 CEST 2009


Revision: 40757
          http://scummvm.svn.sourceforge.net/scummvm/?rev=40757&view=rev
Author:   marcus_c
Date:     2009-05-21 11:49:47 +0000 (Thu, 21 May 2009)

Log Message:
-----------
Micro-optimization:  Don't re-strip plugins which are not modified.

Modified Paths:
--------------
    scummvm/trunk/backends/platform/dc/dreamcast.mk

Modified: scummvm/trunk/backends/platform/dc/dreamcast.mk
===================================================================
--- scummvm/trunk/backends/platform/dc/dreamcast.mk	2009-05-21 10:52:13 UTC (rev 40756)
+++ scummvm/trunk/backends/platform/dc/dreamcast.mk	2009-05-21 11:49:47 UTC (rev 40757)
@@ -10,8 +10,12 @@
 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


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list