[Scummvm-cvs-logs] SF.net SVN: scummvm:[50676] scummvm/trunk/backends/platform/ds/ds.mk

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Mon Jul 5 13:53:55 CEST 2010


Revision: 50676
          http://scummvm.svn.sourceforge.net/scummvm/?rev=50676&view=rev
Author:   fingolfin
Date:     2010-07-05 11:53:55 +0000 (Mon, 05 Jul 2010)

Log Message:
-----------
DS: Add missing .bin -> .elf rule

Modified Paths:
--------------
    scummvm/trunk/backends/platform/ds/ds.mk

Modified: scummvm/trunk/backends/platform/ds/ds.mk
===================================================================
--- scummvm/trunk/backends/platform/ds/ds.mk	2010-07-05 11:07:24 UTC (rev 50675)
+++ scummvm/trunk/backends/platform/ds/ds.mk	2010-07-05 11:53:55 UTC (rev 50676)
@@ -92,6 +92,10 @@
 
 all: scummvm.nds scummvm.ds.gba
 
+%.bin: %.elf
+	$(OBJCOPY) -S $< $(<F)-stripped.elf
+	$(OBJCOPY) -O binary $(<F)-stripped.elf $@
+
 %.nds: %.bin $(ndsdir)/arm7/arm7.bin
 	ndstool -c $@ -9 $< -7 $(ndsdir)/arm7/arm7.bin -b $(srcdir)/$(ndsdir)/$(LOGO) "$(@F);ScummVM $(VERSION);DS Port"
 


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