aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorMax Horn2010-07-05 11:07:24 +0000
committerMax Horn2010-07-05 11:07:24 +0000
commitfcde7221d55849441844d7a7480cf99696417e88 (patch)
tree9f2dab9703f0e9d9032caba2136e98dee626b6a0 /backends
parentcb265ae09ac6282b0a7282f3d3c0d5b5973cac08 (diff)
downloadscummvm-rg350-fcde7221d55849441844d7a7480cf99696417e88.tar.gz
scummvm-rg350-fcde7221d55849441844d7a7480cf99696417e88.tar.bz2
scummvm-rg350-fcde7221d55849441844d7a7480cf99696417e88.zip
DS: Fix typo; change bin2o/bin2h to create taget dir
svn-id: r50675
Diffstat (limited to 'backends')
-rw-r--r--backends/platform/ds/ds.mk2
-rw-r--r--backends/platform/ds/module.mk2
2 files changed, 3 insertions, 1 deletions
diff --git a/backends/platform/ds/ds.mk b/backends/platform/ds/ds.mk
index ee3a1050b8..0fd8ac7cda 100644
--- a/backends/platform/ds/ds.mk
+++ b/backends/platform/ds/ds.mk
@@ -3,7 +3,7 @@
# where OPTIONS is...
# build A: --enable-scumm
# build B: --enable-sky --enable-queen
-# build C: --enable-ago
+# build C: --enable-agos
# build D: --enable-gob --enable-cine --enable-agi
# build E: --enable-saga --disable-mad
# build F: --enable-kyra --disable-mad
diff --git a/backends/platform/ds/module.mk b/backends/platform/ds/module.mk
index c97f24e12a..d70b5b1bab 100644
--- a/backends/platform/ds/module.mk
+++ b/backends/platform/ds/module.mk
@@ -63,10 +63,12 @@ MODULE_OBJS := $(DATA_OBJS) $(LIBCARTRESET_OBJS) $(PORT_OBJS) $(COMPRESSOR_OBJS)
# canned command sequence for binary data
#---------------------------------------------------------------------------------
define bin2o
+ $(MKDIR) $(*D)
bin2s $< | $(AS) -mthumb -mthumb-interwork -o $(@)
endef
define bin2h
+ $(MKDIR) $(*D)
echo "extern const u8" `(echo $(<F) | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > $@
echo "extern const u8" `(echo $(<F) | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> $@
echo "extern const u32" `(echo $(<F) | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> $@