comparison 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
comparison
equal deleted inserted replaced
18:80c8857ce1c7 19:399779c700da
1 #!/bin/sh
2
3 set -e
4
5 if [ ! -f make-all.sh ]
6 then
7 echo "This script needs to be run from the top of the source tree" 1>&2
8 exit 1
9 fi
10
11 echo 'Building makeline helper'
12 (cd helpers; make)
13
14 scripts/config-one.sh compal-new modem
15 scripts/config-one.sh compal-old modem
16 scripts/config-one.sh fcfam irda
17 scripts/config-one.sh fcfam modem
18 scripts/config-one.sh pirelli irda
19 scripts/config-one.sh ti26 irda
20 scripts/config-one.sh ti26 modem
21
22 for i in build-*
23 do
24 echo "Running make in $i"
25 (cd $i; make)
26 done
27
28 echo 'Gathering build products in images directory'
29 mkdir -p images
30
31 cp -p build-compal-new-modem/ramimage.srec images/ffsagent-compal-new.srec
32 cp -p build-compal-old-modem/ramimage.srec images/ffsagent-compal-old.srec
33 cp -p build-fcfam-irda/ramimage.srec images/ffsagent-fcfam-irda.srec
34 cp -p build-fcfam-modem/ramimage.srec images/ffsagent-fcfam-modem.srec
35 cp -p build-pirelli-irda/ramimage.srec images/ffsagent-pirelli-am.srec
36 cp -p build-ti26-irda/ramimage.srec images/ffsagent-ti26-irda.srec
37 cp -p build-ti26-modem/ramimage.srec images/ffsagent-ti26-modem.srec