aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
authorMax Horn2010-07-05 11:53:55 +0000
committerMax Horn2010-07-05 11:53:55 +0000
commitd4ad7b8a6d159e367bfb5f9e8de92140f3f41e06 (patch)
treee2a21c72114f69a2094e8b97b38be0d81e039f6d /backends/platform
parentfcde7221d55849441844d7a7480cf99696417e88 (diff)
downloadscummvm-rg350-d4ad7b8a6d159e367bfb5f9e8de92140f3f41e06.tar.gz
scummvm-rg350-d4ad7b8a6d159e367bfb5f9e8de92140f3f41e06.tar.bz2
scummvm-rg350-d4ad7b8a6d159e367bfb5f9e8de92140f3f41e06.zip
DS: Add missing .bin -> .elf rule
svn-id: r50676
Diffstat (limited to 'backends/platform')
-rw-r--r--backends/platform/ds/ds.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/platform/ds/ds.mk b/backends/platform/ds/ds.mk
index 0fd8ac7cda..9df0d2ba0d 100644
--- a/backends/platform/ds/ds.mk
+++ b/backends/platform/ds/ds.mk
@@ -92,6 +92,10 @@ OPT_SIZE := -Os -mthumb
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"