aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ds
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/ds')
-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";" >> $@