File: build-ds.sh

package info (click to toggle)
scummvm 2.9.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 450,268 kB
  • sloc: cpp: 4,297,604; asm: 28,322; python: 12,901; sh: 11,219; java: 8,477; xml: 7,843; perl: 2,633; ansic: 2,465; yacc: 1,670; javascript: 1,020; makefile: 933; lex: 578; awk: 275; objc: 82; sed: 11; php: 1
file content (30 lines) | stat: -rwxr-xr-x 1,105 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/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