scummvm/backends/platform/ds/build-ds.sh
dhewg 2f312e9e1a DS: Disable symbol garbage collection
Only applies when using loadable modules.
This requires a second compile run or black voodoo linker tricks.
Not implemented at this time. Disable it, so we get DS build failure
reports from buildbot (which are useful with all the DISABLE_EVERYTHING
defines).
The resulting binary might be too big to be usable.
2011-02-20 13:09:36 +01:00

31 lines
1.1 KiB
Bash
Executable File

#!/bin/sh
echo "FIXME: feature disabled in configure"
exit 1
#
# 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