diff options
author | Yotam Barnoy | 2010-11-04 06:22:24 +0000 |
---|---|---|
committer | Yotam Barnoy | 2010-11-04 06:22:24 +0000 |
commit | 50d2f7a6be5aff92553d232e105ea227908ba21e (patch) | |
tree | 8293fa83c92558b225c20c0ff19dfbde750bcfda /backends/platform/ds | |
parent | 3fedacdb434e625524cca29e210f420ff7f557e0 (diff) | |
download | scummvm-rg350-50d2f7a6be5aff92553d232e105ea227908ba21e.tar.gz scummvm-rg350-50d2f7a6be5aff92553d232e105ea227908ba21e.tar.bz2 scummvm-rg350-50d2f7a6be5aff92553d232e105ea227908ba21e.zip |
DS: moved build-ds.sh to DS directory. It's currently unused but has a good way of reducing dynamic size
svn-id: r54059
Diffstat (limited to 'backends/platform/ds')
-rwxr-xr-x | backends/platform/ds/build-ds.sh | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/backends/platform/ds/build-ds.sh b/backends/platform/ds/build-ds.sh new file mode 100755 index 0000000000..d56af5a092 --- /dev/null +++ b/backends/platform/ds/build-ds.sh @@ -0,0 +1,26 @@ +#!/bin/sh +# +# build-ds.sh -- script for building a ds build with every usable dynamic engine plugin + +make clean + +#Set up a static build with only engines usable by DS enabled +./configure --host=ds --disable-debug --disable-all-engines --enable-scumm --enable-sky --enable-queen --enable-agos --enable-gob --enable-cine --enable-agi --enable-kyra --enable-lure --enable-parallaction --enable-made --enable-cruise + +make clean + +make + +#Dump all symbols used in this garbage-collected static build into a file +rm -f ds.syms +arm-eabi-objdump -t scummvm.elf > ds.syms + +make clean + +#Set up a dynamic build with only engines usable by the DS enabled +./configure --host=ds --enable-plugins --default-dynamic --disable-debug --disable-all-engines --enable-scumm --enable-sky --enable-queen --enable-gob --enable-cine --enable-agos --enable-agi --enable-kyra --enable-lure --enable-parallaction --enable-made --enable-cruise + +make clean + +#Make this final build, which is selectively stripped with the assistance of the ds.syms file that was generated earlier +make |