]> git.ipfire.org Git - people/ms/u-boot.git/blame - MAKEALL
Accelerate booting on TRAB board: read and check autoupdate image
[people/ms/u-boot.git] / MAKEALL
CommitLineData
7ebf7443
WD
1#!/bin/sh
2
3if [ "${CROSS_COMPILE}" ] ; then
4 MAKE="make CROSS_COMPILE=${CROSS_COMPILE}"
5else
6 MAKE=make
7fi
8
9[ -d LOG ] || mkdir LOG || exit 1
10
11LIST=""
12
0db5bca8
WD
13#########################################################################
14## MPC5xx Systems
15#########################################################################
16
17LIST_5xx=" \
18 cmi_mpc5xx \
19"
20
945af8d7
WD
21#########################################################################
22## MPC5xxx Systems
23#########################################################################
24
25LIST_5xxx=" \
26 IceCube_5100 IceCube_5200 \
27"
28
7ebf7443
WD
29#########################################################################
30## MPC8xx Systems
31#########################################################################
32
33LIST_8xx=" \
0cb61d7d
WD
34 AdderII ADS860 AMX860 c2mon \
35 CCM cogent_mpc8xx ESTEEM192E ETX094 \
36 ELPT860 FADS823 FADS850SAR FADS860T \
37 FLAGADM FPS850L GEN860T GEN860T_SC \
38 GENIETV GTH hermes IAD210 \
39 ICU862_100MHz IP860 IVML24 IVML24_128 \
40 IVML24_256 IVMS8 IVMS8_128 IVMS8_256 \
41 KUP4K LANTEC lwmon MBX \
42 MBX860T MHPC MPC86xADS MVS1 \
43 NETVIA NETVIA_V2 NX823 pcu_e \
44 R360MPI RBC823 rmu RPXClassic \
45 RPXlite RRvision SM850 SPD823TS \
46 svm_sc8xx SXNI855T TOP860 TQM823L \
47 TQM823L_LCD TQM850L TQM855L TQM860L \
48 v37 \
7ebf7443
WD
49"
50
51#########################################################################
52## PPC4xx Systems
53#########################################################################
54
55LIST_4xx=" \
549826ea 56 ADCIOP AR405 ASH405 BUBINGA405EP \
945af8d7 57 CANBT CPCI405 CPCI4052 CPCI405AB \
8bde7f77 58 CPCI440 CPCIISER4 CRAYL1 DASA_SIM \
72cd5aa7
SR
59 DP405 DU405 EBONY ERIC \
60 EXBITGEN HUB405 MIP405 MIP405T \
61 ML2 OCRTC ORSG PCI405 \
62 PIP405 PLU405 PMC405 PPChameleonEVB \
63 VOH405 W7OLMC W7OLMG WALNUT405 \
7ebf7443
WD
64"
65
66#########################################################################
67## MPC824x Systems
68#########################################################################
69
70LIST_824x=" \
8bde7f77 71 A3000 BMW CPC45 CU824 \
15647dc7
WD
72 debris MOUSSE MUSENKI OXC \
73 PN62 Sandpoint8240 Sandpoint8245 SL8245 \
74 utx8245 \
7ebf7443 75"
592c5cab 76
7ebf7443 77#########################################################################
7aa78614 78## MPC8260 Systems (includes 8250, 8255 etc.)
7ebf7443
WD
79#########################################################################
80
81LIST_8260=" \
45219c46 82 atc cogent_mpc8260 CPU86 ep8260 \
7aa78614
WD
83 gw8260 hymod IPHASE4539 MPC8260ADS \
84 MPC8266ADS PM826 ppmc8260 RPXsuper \
85 rsdproto sacsng sbc8260 SCM \
54387ac9 86 TQM8260_AC TQM8260_AD TQM8260_AE ZPC1900 \
7ebf7443
WD
87"
88
42d1f039
WD
89#########################################################################
90## MPC85xx Systems (includes 8540, 8560 etc.)
91#########################################################################
92
93LIST_85xx=" \
94 MPC8540ADS MPC8560ADS \
95"
96
7ebf7443
WD
97#########################################################################
98## 74xx/7xx Systems
99#########################################################################
100
101LIST_74xx=" \
12f34241
WD
102 EVB64260 P3G4 PCIPPC2 PCIPPC6 \
103 ZUMA \
7ebf7443
WD
104"
105
106LIST_7xx=" \
107 BAB7xx ELPPC \
108"
109
945af8d7
WD
110LIST_ppc="${LIST_5xx} ${LIST_5xxx} \
111 ${LIST_8xx} \
0db5bca8 112 ${LIST_824x} ${LIST_8260} \
42d1f039 113 ${LIST_85xx} \
0db5bca8
WD
114 ${LIST_4xx} \
115 ${LIST_74xx} ${LIST_7xx}"
7ebf7443
WD
116
117#########################################################################
118## StrongARM Systems
119#########################################################################
120
85ec0bcc 121LIST_SA="dnp1110 lart shannon"
7ebf7443
WD
122
123#########################################################################
124## ARM7 Systems
125#########################################################################
126
dc7c9a1a 127LIST_ARM7="ep7312 impa7"
7ebf7443
WD
128
129#########################################################################
130## ARM9 Systems
131#########################################################################
132
6f21347d
WD
133LIST_ARM9=" \
134 at91rm9200dk omap1510inn omap1610inn \
135 smdk2400 smdk2410 trab \
136 VCMA9 \
137"
7ebf7443
WD
138
139#########################################################################
140## Xscale Systems
141#########################################################################
142
4c3b21a5 143LIST_pxa="cradle csb226 innokom lubbock wepep250"
7ebf7443 144
2d5b561e 145LIST_ixp="ixdp425"
7ebf7443 146
2d5b561e
WD
147
148LIST_arm="${LIST_SA} ${LIST_ARM7} ${LIST_ARM9} ${LIST_pxa} ${LIST_ixp}"
7ebf7443 149
c021880a 150#########################################################################
5da627a4 151## MIPS Systems
c021880a
WD
152#########################################################################
153
154LIST_mips4kc="incaip"
155
3e38691e
WD
156LIST_mips5kc="purple"
157
5da627a4
WD
158LIST_au1x00="dbau1x00"
159
160LIST_mips="${LIST_mips4kc} ${LIST_mips5kc} ${LIST_au1x00}"
c021880a 161
7a8e9bed
WD
162#########################################################################
163## i386 Systems
164#########################################################################
165
166LIST_I486="sc520_cdp sc520_spunk sc520_spunk_rel"
167
168LIST_x86="${LIST_I486}"
169
170#-----------------------------------------------------------------------
7ebf7443
WD
171
172#----- for now, just run PPC by default -----
173[ $# = 0 ] && set $LIST_ppc
174
175#-----------------------------------------------------------------------
176
177build_target() {
178 target=$1
179
180 ${MAKE} distclean >/dev/null
181 ${MAKE} ${target}_config
182 ${MAKE} all 2>&1 >LOG/$target.MAKELOG | tee LOG/$target.ERR
183 ${CROSS_COMPILE:-ppc_8xx-}size u-boot | tee -a LOG/$target.MAKELOG
184}
185
186#-----------------------------------------------------------------------
187
188
189for arg in $@
190do
191 case "$arg" in
42d1f039 192 ppc|5xx|5xxx|8xx|824x|8260|85xx|4xx|7xx|74xx| \
2d5b561e
WD
193 arm|SA|ARM7|ARM9|pxa|ixp| \
194 mips| \
195 x86|I486)
7ebf7443
WD
196 for target in `eval echo '$LIST_'${arg}`
197 do
198 build_target ${target}
199 done
200 ;;
201 *) build_target ${arg}
202 ;;
203 esac
204done