mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-09 03:10:22 +00:00
DS: Fix typo; change bin2o/bin2h to create taget dir
svn-id: r50675
This commit is contained in:
parent
cb265ae09a
commit
fcde7221d5
@ -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
|
||||
|
@ -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";" >> $@
|
||||
|
Loading…
Reference in New Issue
Block a user