annotate make-all.sh @ 27:cb3f6fe694e1 default tip

README: document SE K2x0 addition
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 21 Dec 2023 21:44:43 +0000
parents 680f6fdb5e62
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 #!/bin/sh
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 set -e
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 if [ ! -f make-all.sh ]
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 then
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 echo "This script needs to be run from the top of the source tree" 1>&2
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 exit 1
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 fi
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 echo 'Building makeline helper'
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 (cd helpers; make)
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 scripts/config-one.sh compal-new modem
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 scripts/config-one.sh compal-old modem
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 scripts/config-one.sh fcfam irda
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 scripts/config-one.sh fcfam modem
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 scripts/config-one.sh pirelli irda
26
680f6fdb5e62 add target for Sony Ericsson K200/K220
Vadim Yanitskiy <fixeria@osmocom.org>
parents: 19
diff changeset
19 scripts/config-one.sh se_k2x0 modem
19
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 scripts/config-one.sh ti26 irda
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 scripts/config-one.sh ti26 modem
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 for i in build-*
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 do
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 echo "Running make in $i"
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 (cd $i; make)
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 done
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 echo 'Gathering build products in images directory'
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 mkdir -p images
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 cp -p build-compal-new-modem/ramimage.srec images/ffsagent-compal-new.srec
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 cp -p build-compal-old-modem/ramimage.srec images/ffsagent-compal-old.srec
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 cp -p build-fcfam-irda/ramimage.srec images/ffsagent-fcfam-irda.srec
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 cp -p build-fcfam-modem/ramimage.srec images/ffsagent-fcfam-modem.srec
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 cp -p build-pirelli-irda/ramimage.srec images/ffsagent-pirelli-am.srec
26
680f6fdb5e62 add target for Sony Ericsson K200/K220
Vadim Yanitskiy <fixeria@osmocom.org>
parents: 19
diff changeset
37 cp -p build-se_k2x0-modem/ramimage.srec images/ffsagent-se_k2x0.srec
19
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 cp -p build-ti26-irda/ramimage.srec images/ffsagent-ti26-irda.srec
399779c700da top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 cp -p build-ti26-modem/ramimage.srec images/ffsagent-ti26-modem.srec