FreeCalypso > hg > ffs-editor
annotate make-all.sh @ 19:399779c700da
top make-all.sh script added
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 15 May 2020 05:59:55 +0000 |
parents | |
children | 680f6fdb5e62 |
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 |
399779c700da
top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 scripts/config-one.sh ti26 irda |
399779c700da
top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 scripts/config-one.sh ti26 modem |
399779c700da
top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 |
399779c700da
top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 for i in build-* |
399779c700da
top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 do |
399779c700da
top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 echo "Running make in $i" |
399779c700da
top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 (cd $i; make) |
399779c700da
top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 done |
399779c700da
top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 |
399779c700da
top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 echo 'Gathering build products in images directory' |
399779c700da
top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 mkdir -p images |
399779c700da
top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 |
399779c700da
top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 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
|
32 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
|
33 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
|
34 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
|
35 cp -p build-pirelli-irda/ramimage.srec images/ffsagent-pirelli-am.srec |
399779c700da
top make-all.sh script added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 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
|
37 cp -p build-ti26-modem/ramimage.srec images/ffsagent-ti26-modem.srec |