aboutsummaryrefslogtreecommitdiff
path: root/build-ds.sh
diff options
context:
space:
mode:
authorYotam Barnoy2010-11-03 22:01:01 +0000
committerYotam Barnoy2010-11-03 22:01:01 +0000
commit13b904d282ea607db94069b927d6cb1b19aa0d0b (patch)
treecbc8efcc281f735beb9f45117e82a30872995ac7 /build-ds.sh
parent0ac1eb82c65e7f20f51f6337df5aa64e02a1af29 (diff)
parent27182f266f48a6d55dd5d830ed19e2c4285ac1ba (diff)
downloadscummvm-rg350-13b904d282ea607db94069b927d6cb1b19aa0d0b.tar.gz
scummvm-rg350-13b904d282ea607db94069b927d6cb1b19aa0d0b.tar.bz2
scummvm-rg350-13b904d282ea607db94069b927d6cb1b19aa0d0b.zip
Merge from gsoc2010-plugins
This merge was extremely difficult to carry out. It wasn't entirely SVN's fault -- there were several merges to the branch that were done by hand. Please check for any issues and regressions. Also note that the DS makefile was not copied over since the "one at a time" plugin mode currently has too much fragmentation ie. it doesn't work. svn-id: r54051
Diffstat (limited to 'build-ds.sh')
-rwxr-xr-xbuild-ds.sh27
1 files changed, 26 insertions, 1 deletions
diff --git a/build-ds.sh b/build-ds.sh
index 5692c8a07b..3906ee3ce1 100755
--- a/build-ds.sh
+++ b/build-ds.sh
@@ -1 +1,26 @@
-dummy
+#!/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