blob: 684db67aa4bc8c9d8babb3d21de917896e32d27f [file] [log] [blame]
Peter Tyserf2352872009-12-06 23:58:28 -06001#!/bin/bash
wdenk7ebf7442002-11-02 23:17:16 +00002
Peter Tyser40a28f02009-09-21 12:04:32 -05003# Print statistics when we exit
4trap exit 1 2 3 15
5trap print_stats 0
6
Wolfgang Denk7fa6a2f2008-12-09 00:39:08 +01007# Determine number of CPU cores if no default was set
8: ${BUILD_NCPUS:="`getconf _NPROCESSORS_ONLN`"}
9
10if [ "$BUILD_NCPUS" -gt 1 ]
11then
Peter Tyser55f786d2009-09-21 12:04:33 -050012 JOBS="-j $((BUILD_NCPUS + 1))"
Wolfgang Denk7fa6a2f2008-12-09 00:39:08 +010013else
14 JOBS=""
15fi
16
wdenka8c7c702003-12-06 19:49:23 +000017
wdenk7ebf7442002-11-02 23:17:16 +000018if [ "${CROSS_COMPILE}" ] ; then
19 MAKE="make CROSS_COMPILE=${CROSS_COMPILE}"
20else
21 MAKE=make
22fi
23
Marian Balakowiczf9328632006-09-01 19:49:50 +020024if [ "${MAKEALL_LOGDIR}" ] ; then
25 LOG_DIR=${MAKEALL_LOGDIR}
26else
27 LOG_DIR="LOG"
28fi
Stefan Roese887e2ec2006-09-07 11:51:23 +020029
Marian Balakowiczf9328632006-09-01 19:49:50 +020030if [ ! "${BUILD_DIR}" ] ; then
31 BUILD_DIR="."
32fi
33
Marian Balakowicz4f0645e2006-09-07 12:05:53 +020034[ -d ${LOG_DIR} ] || mkdir ${LOG_DIR} || exit 1
wdenk7ebf7442002-11-02 23:17:16 +000035
36LIST=""
37
Peter Tyser40a28f02009-09-21 12:04:32 -050038# Keep track of the number of builds and errors
39ERR_CNT=0
40ERR_LIST=""
41TOTAL_CNT=0
Peter Tyserf2352872009-12-06 23:58:28 -060042RC=0
Peter Tyser40a28f02009-09-21 12:04:32 -050043
wdenk7ebf7442002-11-02 23:17:16 +000044#########################################################################
wdenk0db5bca2003-03-31 17:27:09 +000045## MPC5xx Systems
46#########################################################################
47
Kim Phillipsfb565792007-08-10 15:34:48 -050048LIST_5xx=" \
49 cmi_mpc5xx \
wdenk0db5bca2003-03-31 17:27:09 +000050"
51
52#########################################################################
wdenk945af8d2003-07-16 21:53:01 +000053## MPC5xxx Systems
54#########################################################################
55
Kim Phillipsfb565792007-08-10 15:34:48 -050056LIST_5xxx=" \
57 BC3450 \
58 cm5200 \
59 cpci5200 \
Grzegorz Bernacki5c4fa9b2009-03-17 10:06:40 +010060 digsy_mtc \
Kim Phillipsfb565792007-08-10 15:34:48 -050061 EVAL5200 \
62 fo300 \
Eric Millbrandt5b53b292009-08-13 10:14:21 -050063 galaxy5200 \
Kim Phillipsfb565792007-08-10 15:34:48 -050064 icecube_5100 \
65 icecube_5200 \
Wolfgang Denk12a67a92008-05-05 12:52:36 +020066 inka4x0 \
Wolfgang Grandeggercd12f612009-10-23 12:03:16 +020067 ipek01 \
Kim Phillipsfb565792007-08-10 15:34:48 -050068 lite5200b \
69 mcc200 \
70 mecp5200 \
71 motionpro \
Heiko Schocher6341d9d2008-01-11 15:15:14 +010072 munices \
Andre Schwarz5e0de0e2008-07-09 18:30:44 +020073 MVBC_P \
Kim Phillipsfb565792007-08-10 15:34:48 -050074 o2dnt \
Jon Smirlc9969942009-06-14 18:21:28 -040075 pcm030 \
Kim Phillipsfb565792007-08-10 15:34:48 -050076 pf5200 \
77 PM520 \
78 TB5200 \
79 Total5100 \
80 Total5200 \
81 Total5200_Rev2 \
82 TQM5200 \
83 TQM5200_B \
84 TQM5200S \
85 v38b \
wdenk945af8d2003-07-16 21:53:01 +000086"
87
88#########################################################################
Rafal Jaworowski8993e542007-07-27 14:43:59 +020089## MPC512x Systems
90#########################################################################
91
Kim Phillipsfb565792007-08-10 15:34:48 -050092LIST_512x=" \
Wolfgang Denk52568c32009-05-16 10:47:46 +020093 aria \
Stefan Roesee53b5072009-06-09 11:50:40 +020094 mecp5123 \
Wolfgang Denk72601d02009-05-16 10:47:41 +020095 mpc5121ads \
wdenk7ebf7442002-11-02 23:17:16 +000096"
97
98#########################################################################
99## MPC8xx Systems
100#########################################################################
Kim Phillipsfb565792007-08-10 15:34:48 -0500101LIST_8xx=" \
102 Adder87x \
103 AdderII \
104 ADS860 \
105 AMX860 \
106 c2mon \
107 CCM \
108 cogent_mpc8xx \
109 ELPT860 \
110 EP88x \
111 ESTEEM192E \
112 ETX094 \
113 FADS823 \
114 FADS850SAR \
115 FADS860T \
116 FLAGADM \
117 FPS850L \
118 GEN860T \
119 GEN860T_SC \
120 GENIETV \
121 GTH \
122 hermes \
123 IAD210 \
124 ICU862_100MHz \
125 IP860 \
126 IVML24 \
127 IVML24_128 \
128 IVML24_256 \
129 IVMS8 \
130 IVMS8_128 \
131 IVMS8_256 \
132 KUP4K \
133 KUP4X \
134 LANTEC \
135 lwmon \
Heiko Schocher1b6275d2009-03-12 07:37:34 +0100136 kmsupx4 \
Kim Phillipsfb565792007-08-10 15:34:48 -0500137 MBX \
138 MBX860T \
Heiko Schocher381e4e62008-01-11 01:12:06 +0100139 mgsuvd \
Kim Phillipsfb565792007-08-10 15:34:48 -0500140 MHPC \
141 MPC86xADS \
142 MPC885ADS \
Kim Phillipsfb565792007-08-10 15:34:48 -0500143 NETPHONE \
144 NETTA \
145 NETTA2 \
146 NETTA_ISDN \
147 NETVIA \
148 NETVIA_V2 \
149 NX823 \
150 pcu_e \
151 QS823 \
152 QS850 \
153 QS860T \
154 quantum \
155 R360MPI \
156 RBC823 \
157 rmu \
158 RPXClassic \
159 RPXlite \
160 RPXlite_DW \
161 RRvision \
162 SM850 \
163 spc1920 \
164 SPD823TS \
165 svm_sc8xx \
166 SXNI855T \
Guennadi Liakhovetskiefc6f442008-01-10 17:59:07 +0100167 TK885D \
Kim Phillipsfb565792007-08-10 15:34:48 -0500168 TOP860 \
169 TQM823L \
170 TQM823L_LCD \
171 TQM850L \
172 TQM855L \
173 TQM860L \
174 TQM885D \
175 uc100 \
176 v37 \
wdenk7ebf7442002-11-02 23:17:16 +0000177"
178
179#########################################################################
180## PPC4xx Systems
181#########################################################################
182
Kim Phillipsfb565792007-08-10 15:34:48 -0500183LIST_4xx=" \
184 acadia \
185 acadia_nand \
186 ADCIOP \
187 alpr \
188 AP1000 \
189 AR405 \
Adam Grahamf09f09d2008-10-08 10:12:53 -0700190 arches \
Kim Phillipsfb565792007-08-10 15:34:48 -0500191 ASH405 \
192 bamboo \
193 bamboo_nand \
194 bubinga \
195 CANBT \
Stefan Roesec813f1f2008-03-11 16:53:00 +0100196 canyonlands \
Stefan Roese71665eb2008-03-03 17:27:02 +0100197 canyonlands_nand \
Kim Phillipsfb565792007-08-10 15:34:48 -0500198 CMS700 \
199 CPCI2DP \
200 CPCI405 \
201 CPCI4052 \
202 CPCI405AB \
203 CPCI405DT \
Kim Phillipsfb565792007-08-10 15:34:48 -0500204 CPCIISER4 \
205 CRAYL1 \
206 csb272 \
207 csb472 \
208 DASA_SIM \
Dirk Eibachab4c62c2009-07-27 08:49:48 +0200209 devconcenter \
Dirk Eibachb209a112009-07-17 14:16:40 +0200210 dlvision \
Kim Phillipsfb565792007-08-10 15:34:48 -0500211 DP405 \
212 DU405 \
Matthias Fuchs1a3ac862008-01-17 10:53:08 +0100213 DU440 \
Kim Phillipsfb565792007-08-10 15:34:48 -0500214 ebony \
215 ERIC \
Georg Schardt5deb8022008-10-24 13:51:52 +0200216 fx12mm \
Kim Phillipsfb565792007-08-10 15:34:48 -0500217 G2000 \
Dirk Eibach89b86192008-12-09 13:12:40 +0100218 gdppc440etx \
Stefan Roese4c9e8552008-03-19 16:20:49 +0100219 glacier \
Stefan Roese353f2682007-10-23 10:10:08 +0200220 haleakala \
Stefan Roese3d6cb3b2007-11-03 12:08:28 +0100221 haleakala_nand \
Stefan Roese3b3bff42007-08-14 16:36:29 +0200222 hcu4 \
223 hcu5 \
Kim Phillipsfb565792007-08-10 15:34:48 -0500224 HH405 \
225 HUB405 \
Dirk Eibach4c188362009-09-09 12:36:07 +0200226 intip \
Kim Phillipsfb565792007-08-10 15:34:48 -0500227 JSE \
228 KAREF \
229 katmai \
Stefan Roese566806c2007-10-05 17:11:30 +0200230 kilauea \
Stefan Roese3d6cb3b2007-11-03 12:08:28 +0100231 kilauea_nand \
Larry Johnsonc591dff2007-12-27 11:28:51 -0500232 korat \
Kim Phillipsfb565792007-08-10 15:34:48 -0500233 luan \
234 lwmon5 \
Stefan Roese211ea912007-10-22 07:34:34 +0200235 makalu \
Niklaus Gigerb05f3542008-02-25 18:46:41 +0100236 mcu25 \
Kim Phillipsfb565792007-08-10 15:34:48 -0500237 METROBOX \
238 MIP405 \
239 MIP405T \
240 ML2 \
241 ml300 \
Ricardo Ribalda Delgado086511f2008-07-17 12:47:09 +0200242 ml507 \
Ricardo Ribalda Delgado01a00432008-07-21 20:30:07 +0200243 ml507_flash \
Dirk Eibachd7b26d52008-10-08 15:37:50 +0200244 neo \
Kim Phillipsfb565792007-08-10 15:34:48 -0500245 ocotea \
246 OCRTC \
247 ORSG \
248 p3p440 \
249 PCI405 \
250 pcs440ep \
251 PIP405 \
252 PLU405 \
253 PMC405 \
Matthias Fuchs99d8b232009-07-22 13:56:21 +0200254 PMC405DE \
Matthias Fuchs8ba132c2007-12-28 17:07:24 +0100255 PMC440 \
Kim Phillipsfb565792007-08-10 15:34:48 -0500256 PPChameleonEVB \
Gary Jennejohn73ccb342008-04-28 14:04:32 +0200257 quad100hd \
Stefan Roese6da0c5b2007-08-16 09:54:51 +0200258 rainier \
Feng Kan0ce5c862008-07-08 22:48:42 -0700259 redwood \
Kim Phillipsfb565792007-08-10 15:34:48 -0500260 sbc405 \
261 sc3 \
262 sequoia \
263 sequoia_nand \
Stefan Roese3b3bff42007-08-14 16:36:29 +0200264 taihu \
Kim Phillipsfb565792007-08-10 15:34:48 -0500265 taishan \
Ricardo Ribalda Delgadoe07f4a82008-09-01 13:09:39 -0400266 v5fx30teval \
267 v5fx30teval_flash \
Kim Phillipsfb565792007-08-10 15:34:48 -0500268 VOH405 \
269 VOM405 \
270 W7OLMC \
271 W7OLMG \
272 walnut \
273 WUH405 \
Ricardo Ribalda Delgadoe07f4a82008-09-01 13:09:39 -0400274 xilinx-ppc440-generic \
275 xilinx-ppc440-generic_flash \
Peter Tyser10c1b212009-07-17 19:01:16 -0500276 XPEDITE1000 \
Kim Phillipsfb565792007-08-10 15:34:48 -0500277 yellowstone \
278 yosemite \
279 yucca \
Stefan Roese3b3bff42007-08-14 16:36:29 +0200280 zeus \
wdenk7ebf7442002-11-02 23:17:16 +0000281"
282
283#########################################################################
wdenk983fda82004-10-28 00:09:35 +0000284## MPC8220 Systems
285#########################################################################
286
Kim Phillipsfb565792007-08-10 15:34:48 -0500287LIST_8220=" \
288 Alaska8220 \
289 Yukon8220 \
wdenk983fda82004-10-28 00:09:35 +0000290"
291
292#########################################################################
wdenk7ebf7442002-11-02 23:17:16 +0000293## MPC824x Systems
294#########################################################################
295
Kim Phillipsfb565792007-08-10 15:34:48 -0500296LIST_824x=" \
297 A3000 \
298 barco \
299 BMW \
300 CPC45 \
301 CU824 \
302 debris \
303 eXalion \
304 HIDDEN_DRAGON \
Heiko Schocher3c1d8952009-04-28 07:48:39 +0200305 IDS8247 \
Guennadi Liakhovetski61525f22008-03-31 01:32:15 +0200306 linkstation_HGLAN \
Kim Phillipsfb565792007-08-10 15:34:48 -0500307 MOUSSE \
308 MUSENKI \
309 MVBLUE \
310 OXC \
311 PN62 \
312 Sandpoint8240 \
313 Sandpoint8245 \
314 sbc8240 \
315 SL8245 \
316 utx8245 \
wdenk7ebf7442002-11-02 23:17:16 +0000317"
wdenk592c5ca2003-06-21 00:17:24 +0000318
wdenk7ebf7442002-11-02 23:17:16 +0000319#########################################################################
wdenk7aa78612003-05-03 15:50:43 +0000320## MPC8260 Systems (includes 8250, 8255 etc.)
wdenk7ebf7442002-11-02 23:17:16 +0000321#########################################################################
322
Kim Phillipsfb565792007-08-10 15:34:48 -0500323LIST_8260=" \
324 atc \
325 cogent_mpc8260 \
326 CPU86 \
327 CPU87 \
328 ep8248 \
329 ep8260 \
330 ep82xxm \
331 gw8260 \
332 hymod \
333 IPHASE4539 \
334 ISPAN \
Heiko Schocherac9db062008-01-11 01:12:08 +0100335 mgcoge \
Kim Phillipsfb565792007-08-10 15:34:48 -0500336 MPC8260ADS \
337 MPC8266ADS \
338 MPC8272ADS \
339 PM826 \
340 PM828 \
341 ppmc8260 \
342 Rattler8248 \
343 RPXsuper \
344 rsdproto \
345 sacsng \
346 sbc8260 \
347 SCM \
348 TQM8260_AC \
349 TQM8260_AD \
350 TQM8260_AE \
Wolfgang Denka38dc3e2008-05-15 00:42:45 +0200351 TQM8272 \
Kim Phillipsfb565792007-08-10 15:34:48 -0500352 ZPC1900 \
wdenk7ebf7442002-11-02 23:17:16 +0000353"
354
355#########################################################################
Eran Libertyf046ccd2005-07-28 10:08:46 -0500356## MPC83xx Systems (includes 8349, etc.)
357#########################################################################
358
Kim Phillipsfb565792007-08-10 15:34:48 -0500359LIST_83xx=" \
Reinhard Arlt1dee9be2009-12-08 09:13:08 +0100360 caddy2 \
Heiko Schocherde044362008-11-20 09:57:47 +0100361 kmeter1 \
Kim Phillipsfb565792007-08-10 15:34:48 -0500362 MPC8313ERDB_33 \
Nick Spence64ac1eb2008-09-02 15:21:16 -0500363 MPC8313ERDB_NAND_66 \
Dave Liu8bd522c2008-01-11 18:48:24 +0800364 MPC8315ERDB \
Anton Vorontsov2e950042009-11-24 20:12:12 +0300365 MPC8315ERDB_NAND \
Kim Phillips19fa1c32007-08-15 22:30:05 -0500366 MPC8323ERDB \
Kim Phillipsfb565792007-08-10 15:34:48 -0500367 MPC832XEMDS \
Tony Li281df452007-10-18 17:47:19 +0800368 MPC832XEMDS_ATM \
Kim Phillipsfb565792007-08-10 15:34:48 -0500369 MPC8349EMDS \
370 MPC8349ITX \
371 MPC8349ITXGP \
372 MPC8360EMDS \
Tony Li281df452007-10-18 17:47:19 +0800373 MPC8360EMDS_ATM \
Anton Vorontsovfab6f552008-01-09 20:57:47 +0300374 MPC8360ERDK_33 \
375 MPC8360ERDK_66 \
Dave Liub21add42007-09-18 12:40:21 +0800376 MPC837XEMDS \
Kim Phillips5e918a92008-01-16 00:38:05 -0600377 MPC837XERDB \
Andre Schwarza1293e52008-06-10 09:14:05 +0200378 MVBLM7 \
Kim Phillipsfb565792007-08-10 15:34:48 -0500379 sbc8349 \
Ron Madrid5bb907a2009-01-22 15:05:24 -0800380 SIMPC8313_LP \
Kim Phillipsfb565792007-08-10 15:34:48 -0500381 TQM834x \
Reinhard Arltc2e49f72009-07-25 06:19:12 +0200382 vme8349 \
Eran Libertyf046ccd2005-07-28 10:08:46 -0500383"
384
385
386#########################################################################
wdenk42d1f032003-10-15 23:53:47 +0000387## MPC85xx Systems (includes 8540, 8560 etc.)
388#########################################################################
389
Kim Phillipsfb565792007-08-10 15:34:48 -0500390LIST_85xx=" \
robert lazarski7bd61042007-12-21 10:36:37 -0500391 ATUM8548 \
Kumar Gala9490a7f2008-07-25 13:31:05 -0500392 MPC8536DS \
Mingkai Hu9a1a0ae2009-09-23 15:20:37 +0800393 MPC8536DS_NAND \
Mingkai Hue40ac482009-09-23 15:20:38 +0800394 MPC8536DS_SDCARD \
395 MPC8536DS_SPIFLASH \
Kim Phillipsfb565792007-08-10 15:34:48 -0500396 MPC8540ADS \
397 MPC8540EVAL \
398 MPC8541CDS \
399 MPC8544DS \
400 MPC8548CDS \
401 MPC8555CDS \
402 MPC8560ADS \
403 MPC8568MDS \
Haiying Wang765547d2009-03-27 17:02:45 -0400404 MPC8569MDS \
Liu Yuc95d5412009-11-27 15:31:52 +0800405 MPC8569MDS_ATM \
Liu Yu674ef7b2010-01-18 19:03:28 +0800406 MPC8569MDS_NAND \
Kumar Gala129ba612008-08-12 11:13:08 -0500407 MPC8572DS \
Kumar Gala18af1c52009-01-23 14:22:14 -0600408 MPC8572DS_36BIT \
Srikanth Srinivasanfeb78382009-04-03 15:36:13 -0500409 P2020DS \
410 P2020DS_36BIT \
Poonam Aggrwalc17b79f2009-08-20 18:59:18 +0530411 P1011RDB \
Dipen Dudhatf7780ec2009-10-08 13:33:18 +0530412 P1011RDB_NAND \
Dipen Dudhatfad15092009-10-08 13:33:29 +0530413 P1011RDB_SDCARD \
414 P1011RDB_SPIFLASH \
Poonam Aggrwalbf488bc2009-08-20 18:57:02 +0530415 P1020RDB \
Dipen Dudhatf7780ec2009-10-08 13:33:18 +0530416 P1020RDB_NAND \
Dipen Dudhatfad15092009-10-08 13:33:29 +0530417 P1020RDB_SDCARD \
418 P1020RDB_SPIFLASH \
Poonam Aggrwalc17b79f2009-08-20 18:59:18 +0530419 P2010RDB \
Dipen Dudhatf7780ec2009-10-08 13:33:18 +0530420 P2010RDB_NAND \
Dipen Dudhatfad15092009-10-08 13:33:29 +0530421 P2010RDB_SDCARD \
422 P2010RDB_SPIFLASH \
Poonam Aggrwal728ece32009-08-05 13:29:24 +0530423 P2020RDB \
Dipen Dudhatf7780ec2009-10-08 13:33:18 +0530424 P2020RDB_NAND \
Dipen Dudhatfad15092009-10-08 13:33:29 +0530425 P2020RDB_SDCARD \
426 P2020RDB_SPIFLASH \
Kim Phillipsfb565792007-08-10 15:34:48 -0500427 PM854 \
428 PM856 \
429 sbc8540 \
Joe Hamman11c45eb2007-12-13 06:45:08 -0600430 sbc8548 \
Paul Gortmaker2738bc82009-09-20 20:36:06 -0400431 sbc8548_PCI_33 \
432 sbc8548_PCI_66 \
433 sbc8548_PCI_33_PCIE \
434 sbc8548_PCI_66_PCIE \
Kim Phillipsfb565792007-08-10 15:34:48 -0500435 sbc8560 \
Sergei Poselenov5d108ac2008-04-30 11:42:50 +0200436 socrates \
Kim Phillipsfb565792007-08-10 15:34:48 -0500437 stxgp3 \
438 stxssa \
439 TQM8540 \
440 TQM8541 \
Wolfgang Grandegger1287e0c2008-06-05 13:12:07 +0200441 TQM8548 \
Wolfgang Grandeggera865bcd2009-02-11 18:38:22 +0100442 TQM8548_AG \
Wolfgang Grandeggerad7ee5d2009-02-11 18:38:21 +0100443 TQM8548_BE \
Kim Phillipsfb565792007-08-10 15:34:48 -0500444 TQM8555 \
445 TQM8560 \
Peter Tyser78bbc5c2008-12-01 13:47:13 -0600446 XPEDITE5200 \
Peter Tyserccf0fdd2008-12-17 16:36:23 -0600447 XPEDITE5370 \
wdenk42d1f032003-10-15 23:53:47 +0000448"
449
450#########################################################################
Jon Loeliger822d5532007-05-23 14:09:46 -0500451## MPC86xx Systems
452#########################################################################
453
Kim Phillipsfb565792007-08-10 15:34:48 -0500454LIST_86xx=" \
Jon Loeliger3c89d752007-10-16 15:27:43 -0500455 MPC8610HPCD \
Kim Phillipsfb565792007-08-10 15:34:48 -0500456 MPC8641HPCN \
Wolfgang Denkff7640c2007-09-07 17:43:36 +0200457 sbc8641d \
Peter Tyser5da6f802009-06-30 17:26:01 -0500458 XPEDITE5170 \
Jon Loeliger822d5532007-05-23 14:09:46 -0500459"
460
461#########################################################################
wdenk7ebf7442002-11-02 23:17:16 +0000462## 74xx/7xx Systems
463#########################################################################
464
Kim Phillipsfb565792007-08-10 15:34:48 -0500465LIST_74xx=" \
466 DB64360 \
467 DB64460 \
468 EVB64260 \
469 mpc7448hpc2 \
470 P3G4 \
471 p3m7448 \
472 PCIPPC2 \
473 PCIPPC6 \
474 ZUMA \
wdenk7ebf7442002-11-02 23:17:16 +0000475"
476
Kim Phillipsfb565792007-08-10 15:34:48 -0500477LIST_7xx=" \
478 BAB7xx \
479 CPCI750 \
480 ELPPC \
481 p3m750 \
482 ppmc7xx \
wdenk7ebf7442002-11-02 23:17:16 +0000483"
484
Wolfgang Denkd9a42c02008-04-20 15:35:52 -0700485#########################################################################
486## PowerPC groups
487#########################################################################
488
489LIST_TSEC=" \
490 ${LIST_83xx} \
491 ${LIST_85xx} \
492 ${LIST_86xx} \
493"
494
Kim Phillipsfb565792007-08-10 15:34:48 -0500495LIST_ppc=" \
496 ${LIST_5xx} \
Jean-Christophe PLAGNIOL-VILLARD3deca9d2007-11-25 22:39:25 +0100497 ${LIST_512x} \
Kim Phillipsfb565792007-08-10 15:34:48 -0500498 ${LIST_5xxx} \
499 ${LIST_8xx} \
500 ${LIST_8220} \
501 ${LIST_824x} \
502 ${LIST_8260} \
503 ${LIST_83xx} \
504 ${LIST_85xx} \
505 ${LIST_86xx} \
506 ${LIST_4xx} \
507 ${LIST_74xx} \
508 ${LIST_7xx} \
509"
wdenk7ebf7442002-11-02 23:17:16 +0000510
511#########################################################################
512## StrongARM Systems
513#########################################################################
514
Kim Phillipsfb565792007-08-10 15:34:48 -0500515LIST_SA=" \
516 assabet \
517 dnp1110 \
518 gcplus \
519 lart \
520 shannon \
521"
wdenk7ebf7442002-11-02 23:17:16 +0000522
523#########################################################################
524## ARM7 Systems
525#########################################################################
526
Kim Phillipsfb565792007-08-10 15:34:48 -0500527LIST_ARM7=" \
528 ap7 \
529 ap720t \
530 armadillo \
531 B2 \
532 ep7312 \
533 evb4510 \
534 impa7 \
535 integratorap \
536 lpc2292sodimm \
537 modnet50 \
538 SMN42 \
Wolfgang Denk74f43042005-09-25 01:48:28 +0200539"
wdenk7ebf7442002-11-02 23:17:16 +0000540
541#########################################################################
542## ARM9 Systems
543#########################################################################
544
Kim Phillipsfb565792007-08-10 15:34:48 -0500545LIST_ARM9=" \
Po-Yu Chuang43a5f0d2009-11-11 17:27:30 +0800546 a320evb \
Kim Phillipsfb565792007-08-10 15:34:48 -0500547 ap920t \
548 ap922_XA10 \
549 ap926ejs \
550 ap946es \
551 ap966 \
552 cp920t \
553 cp922_XA10 \
554 cp926ejs \
555 cp946es \
556 cp966 \
Sekhar Nori2819e132009-11-12 11:09:25 -0500557 da830evm \
Ilya Yanok10bc2412009-08-11 02:32:09 +0400558 imx27lite \
Kim Phillipsfb565792007-08-10 15:34:48 -0500559 lpd7a400 \
Prafulla Wadaskar4abc5bf2009-07-16 20:58:01 +0530560 mv88f6281gtw_ge \
Kim Phillipsfb565792007-08-10 15:34:48 -0500561 mx1ads \
562 mx1fs2 \
563 netstar \
Jean-Christophe PLAGNIOL-VILLARDceb70b42009-07-05 01:06:06 +0200564 nhk8815 \
565 nhk8815_onenand \
Kim Phillipsfb565792007-08-10 15:34:48 -0500566 omap1510inn \
567 omap1610h2 \
568 omap1610inn \
David Brownella3543d62008-01-18 12:45:45 -0800569 omap5912osk \
Kim Phillipsfb565792007-08-10 15:34:48 -0500570 omap730p2 \
Simon Kagstrome92daeb2009-09-22 04:01:01 +0530571 openrd_base \
Prafulla Wadaskarfbc83652009-07-16 21:02:24 +0530572 rd6281a \
Kim Phillipsfb565792007-08-10 15:34:48 -0500573 sbc2410x \
574 scb9328 \
Prafulla Wadaskar55dd4ba2009-07-16 20:58:00 +0530575 sheevaplug \
Kim Phillipsfb565792007-08-10 15:34:48 -0500576 smdk2400 \
577 smdk2410 \
Vipin KUMAR7e074152010-01-15 19:15:50 +0530578 spear300 \
Vipin KUMAR080cfee2010-01-15 19:15:52 +0530579 spear310 \
Vipin KUMAR7da69232010-01-15 19:15:53 +0530580 spear320 \
Vipin KUMAR566c9c12010-01-15 19:15:48 +0530581 spear600 \
Kim Phillipsfb565792007-08-10 15:34:48 -0500582 trab \
583 VCMA9 \
584 versatile \
585 versatileab \
586 versatilepb \
587 voiceblue \
588 davinci_dvevm \
589 davinci_schmoogie \
Hugo Villeneuvec7f879e2008-05-21 13:58:41 -0400590 davinci_sffsdr \
Kim Phillipsfb565792007-08-10 15:34:48 -0500591 davinci_sonata \
David Brownell28b00322009-05-15 23:48:37 +0200592 davinci_dm355evm \
Sandeep Paulraj5df65cf2009-10-10 13:37:10 -0400593 davinci_dm355leopard \
Sandeep Paulraj6ab176d2009-10-10 12:00:47 -0400594 davinci_dm6467evm \
wdenk6f213472003-08-29 22:00:43 +0000595"
wdenk7ebf7442002-11-02 23:17:16 +0000596
597#########################################################################
Wolfgang Denk74f43042005-09-25 01:48:28 +0200598## ARM10 Systems
599#########################################################################
Kim Phillipsfb565792007-08-10 15:34:48 -0500600LIST_ARM10=" \
601 integratorcp \
602 cp1026 \
Wolfgang Denk74f43042005-09-25 01:48:28 +0200603"
604
605#########################################################################
wdenk8ed96042005-01-09 23:16:25 +0000606## ARM11 Systems
607#########################################################################
Guennadi Liakhovetski0c692672009-03-25 11:36:50 +0100608LIST_ARM11=" \
609 cp1136 \
610 omap2420h4 \
611 apollon \
612 imx31_litekit \
613 imx31_phycore \
614 imx31_phycore_eet \
615 mx31ads \
Magnus Lilja8449f282009-07-01 01:07:55 +0200616 mx31pdk \
Magnus Liljad08e5ca2009-07-04 10:31:24 +0200617 mx31pdk_nand \
Guennadi Liakhovetski0c692672009-03-25 11:36:50 +0100618 qong \
619 smdk6400 \
Wolfgang Denk74f43042005-09-25 01:48:28 +0200620"
wdenk8ed96042005-01-09 23:16:25 +0000621
622#########################################################################
Dirk Behmef904cdb2009-01-27 18:19:12 +0100623## ARM Cortex-A8 Systems
624#########################################################################
625LIST_ARM_CORTEX_A8=" \
Frederik Kriewitzc35d7cf2009-08-23 12:56:42 +0200626 devkit8000 \
Dirk Behmef904cdb2009-01-27 18:19:12 +0100627 omap3_beagle \
Dirk Behme9d0fc812009-01-28 21:39:57 +0100628 omap3_overo \
Dirk Behmead9bc8e2009-01-28 21:39:58 +0100629 omap3_evm \
Dirk Behme2be2c6c2009-01-28 21:39:58 +0100630 omap3_pandora \
Tom Rixe63e5902009-10-17 12:41:06 -0500631 omap3_sdp3430 \
Dirk Behme7379f452009-01-28 21:40:16 +0100632 omap3_zoom1 \
Tom Rix376aee72009-05-15 23:48:36 +0200633 omap3_zoom2 \
Minkyu Kang8bc4ee92009-10-01 17:20:40 +0900634 smdkc100 \
Dirk Behmef904cdb2009-01-27 18:19:12 +0100635"
636
637#########################################################################
Jean-Christophe PLAGNIOL-VILLARD602cac12008-05-24 12:47:46 +0200638## AT91 Systems
639#########################################################################
640
Sedji Gaouaou22ee6472009-07-09 10:16:29 +0200641LIST_at91=" \
642 afeb9260 \
643 at91cap9adk \
644 at91rm9200dk \
645 at91rm9200ek \
646 at91sam9260ek \
647 at91sam9261ek \
648 at91sam9263ek \
Tom Rixd8380c92009-09-27 07:47:24 -0500649 at91sam9g10ek \
Sedji Gaouaou22ee6472009-07-09 10:16:29 +0200650 at91sam9g20ek \
Sedji Gaouaou5ccc2d92009-06-25 17:04:15 +0200651 at91sam9m10g45ek \
Sedji Gaouaou22ee6472009-07-09 10:16:29 +0200652 at91sam9rlek \
653 cmc_pu2 \
Tom Rixd8380c92009-09-27 07:47:24 -0500654 CPUAT91 \
Tom Rix23b80982009-09-27 11:10:09 -0500655 CPU9260 \
656 CPU9G20 \
Sedji Gaouaou22ee6472009-07-09 10:16:29 +0200657 csb637 \
658 kb9202 \
659 meesc \
660 mp2usb \
661 m501sk \
662 pm9261 \
663 pm9263 \
Albin Tonnerre2dc851e2009-08-20 16:04:49 +0200664 SBC35_A9G20 \
665 TNY_A9260 \
666 TNY_A9G20 \
Jean-Christophe PLAGNIOL-VILLARD602cac12008-05-24 12:47:46 +0200667"
668
669#########################################################################
wdenk7ebf7442002-11-02 23:17:16 +0000670## Xscale Systems
671#########################################################################
672
Kim Phillipsfb565792007-08-10 15:34:48 -0500673LIST_pxa=" \
Kim Phillipsfb565792007-08-10 15:34:48 -0500674 cerf250 \
675 cradle \
676 csb226 \
677 delta \
678 innokom \
679 lubbock \
680 pleb2 \
Stefano Babic040f8f62009-07-01 20:40:41 +0200681 polaris \
Kim Phillipsfb565792007-08-10 15:34:48 -0500682 pxa255_idp \
Stefano Babic040f8f62009-07-01 20:40:41 +0200683 trizepsiv \
Kim Phillipsfb565792007-08-10 15:34:48 -0500684 wepep250 \
685 xaeniax \
686 xm250 \
687 xsengine \
688 zylonite \
wdenk4ec3a7f2004-09-28 16:44:41 +0000689"
wdenk7ebf7442002-11-02 23:17:16 +0000690
Kim Phillipsfb565792007-08-10 15:34:48 -0500691LIST_ixp=" \
Michael Schwingen799891e2008-01-18 00:04:28 +0100692 actux1 \
693 actux2 \
694 actux3 \
695 actux4 \
Kim Phillipsfb565792007-08-10 15:34:48 -0500696 ixdp425 \
697 ixdpg425 \
698 pdnb3 \
699 scpu \
700"
wdenk7ebf7442002-11-02 23:17:16 +0000701
Wolfgang Denkd9a42c02008-04-20 15:35:52 -0700702#########################################################################
703## ARM groups
704#########################################################################
wdenk2d5b5612003-10-14 19:43:55 +0000705
Dirk Behmef904cdb2009-01-27 18:19:12 +0100706LIST_arm=" \
707 ${LIST_SA} \
708 ${LIST_ARM7} \
709 ${LIST_ARM9} \
710 ${LIST_ARM10} \
711 ${LIST_ARM11} \
712 ${LIST_ARM_CORTEX_A8} \
713 ${LIST_at91} \
714 ${LIST_pxa} \
715 ${LIST_ixp} \
wdenk8ed96042005-01-09 23:16:25 +0000716"
wdenk7ebf7442002-11-02 23:17:16 +0000717
wdenkc0218802003-03-27 12:09:35 +0000718#########################################################################
Wolfgang Denkb62bdff2005-08-14 00:27:00 +0200719## MIPS Systems (default = big endian)
wdenkc0218802003-03-27 12:09:35 +0000720#########################################################################
721
Kim Phillipsfb565792007-08-10 15:34:48 -0500722LIST_mips4kc=" \
723 incaip \
Vlad Lungu0764c162008-01-16 19:27:51 +0200724 qemu_mips \
Stefan Roese2a61eff2009-01-21 17:25:01 +0100725 vct_platinum \
726 vct_platinum_small \
727 vct_platinum_onenand \
728 vct_platinum_onenand_small \
729 vct_platinumavc \
730 vct_platinumavc_small \
731 vct_platinumavc_onenand \
732 vct_platinumavc_onenand_small \
733 vct_premium \
734 vct_premium_small \
735 vct_premium_onenand \
736 vct_premium_onenand_small \
Kim Phillipsfb565792007-08-10 15:34:48 -0500737"
wdenkc0218802003-03-27 12:09:35 +0000738
Kim Phillipsfb565792007-08-10 15:34:48 -0500739LIST_mips5kc=" \
740 purple \
741"
wdenk3e386912003-04-05 00:53:31 +0000742
Kim Phillipsfb565792007-08-10 15:34:48 -0500743LIST_au1xx0=" \
744 dbau1000 \
745 dbau1100 \
746 dbau1500 \
747 dbau1550 \
748 dbau1550_el \
749 gth2 \
750"
wdenk5da627a2003-10-09 20:09:04 +0000751
Kim Phillipsfb565792007-08-10 15:34:48 -0500752LIST_mips=" \
753 ${LIST_mips4kc} \
754 ${LIST_mips5kc} \
755 ${LIST_au1xx0} \
756"
wdenkc0218802003-03-27 12:09:35 +0000757
wdenk7a8e9bed2003-05-31 18:35:21 +0000758#########################################################################
Wolfgang Denkb62bdff2005-08-14 00:27:00 +0200759## MIPS Systems (little endian)
760#########################################################################
761
762LIST_mips4kc_el=""
763
764LIST_mips5kc_el=""
765
Kim Phillipsfb565792007-08-10 15:34:48 -0500766LIST_au1xx0_el=" \
767 dbau1550_el \
Shinya Kuribayashib09258c2007-10-27 15:00:25 +0900768 pb1000 \
Kim Phillipsfb565792007-08-10 15:34:48 -0500769"
Wolfgang Denkb62bdff2005-08-14 00:27:00 +0200770
Kim Phillipsfb565792007-08-10 15:34:48 -0500771LIST_mips_el=" \
772 ${LIST_mips4kc_el} \
773 ${LIST_mips5kc_el} \
774 ${LIST_au1xx0_el} \
775"
Wolfgang Denkb62bdff2005-08-14 00:27:00 +0200776
777#########################################################################
wdenk7a8e9bed2003-05-31 18:35:21 +0000778## i386 Systems
779#########################################################################
780
Kim Phillipsfb565792007-08-10 15:34:48 -0500781LIST_I486=" \
782 sc520_cdp \
Graeme Russc620c012008-12-07 10:28:57 +1100783 sc520_eNET \
Kim Phillipsfb565792007-08-10 15:34:48 -0500784 sc520_spunk \
785 sc520_spunk_rel \
786"
wdenk7a8e9bed2003-05-31 18:35:21 +0000787
Kim Phillipsfb565792007-08-10 15:34:48 -0500788LIST_x86=" \
789 ${LIST_I486} \
790"
wdenk7a8e9bed2003-05-31 18:35:21 +0000791
wdenkc935d3b2004-01-03 19:43:48 +0000792#########################################################################
793## NIOS Systems
794#########################################################################
795
Kim Phillipsfb565792007-08-10 15:34:48 -0500796LIST_nios=" \
797 ADNPESC1 \
798 ADNPESC1_base_32 \
799 ADNPESC1_DNPEVA2_base_32\
800 DK1C20 \
801 DK1C20_standard_32 \
802 DK1S10 \
803 DK1S10_standard_32 \
804 DK1S10_mtx_ldk_20 \
wdenkc935d3b2004-01-03 19:43:48 +0000805"
806
wdenk857cad32004-07-10 23:48:41 +0000807#########################################################################
wdenk5c952cf2004-10-10 21:27:30 +0000808## Nios-II Systems
809#########################################################################
810
Kim Phillipsfb565792007-08-10 15:34:48 -0500811LIST_nios2=" \
812 EP1C20 \
813 EP1S10 \
814 EP1S40 \
815 PCI5441 \
816 PK1C20 \
Wolfgang Denk4176c792006-06-10 19:27:47 +0200817"
wdenk5c952cf2004-10-10 21:27:30 +0000818
819#########################################################################
wdenk857cad32004-07-10 23:48:41 +0000820## MicroBlaze Systems
821#########################################################################
822
Michal Simek52a822e2008-12-19 13:14:05 +0100823LIST_microblaze=" \
824 microblaze-generic \
Wolfgang Denk4176c792006-06-10 19:27:47 +0200825"
wdenk857cad32004-07-10 23:48:41 +0000826
Zachary P. Landauf8c3b4f2006-01-26 17:38:46 -0500827#########################################################################
828## ColdFire Systems
829#########################################################################
830
Kim Phillipsfb565792007-08-10 15:34:48 -0500831LIST_coldfire=" \
832 cobra5272 \
833 EB+MCF-EV123 \
834 EB+MCF-EV123_internal \
835 idmr \
TsiChung Liewbf9a5212009-06-12 11:29:00 +0000836 M5208EVBE \
TsiChungLiew1552af72008-01-14 17:43:33 -0600837 M52277EVB \
TsiChungLiew4a442d32007-08-16 19:23:50 -0500838 M5235EVB \
TsiChungLiewa1436a82007-08-16 13:20:50 -0500839 M5249EVB \
TsiChung Liew6d33c6a2008-07-23 17:11:47 -0500840 M5253DEMO \
TsiChung Liewf94945b2008-07-09 15:25:01 -0500841 M5253EVBE \
Kim Phillipsfb565792007-08-10 15:34:48 -0500842 M5271EVB \
843 M5272C3 \
Matthew Fettke545c8e02008-01-24 14:02:32 -0600844 M5275EVB \
Kim Phillipsfb565792007-08-10 15:34:48 -0500845 M5282EVB \
TsiChung Liew536e7da2008-10-22 11:38:21 +0000846 M53017EVB \
TsiChungLiewaa5f1f92008-01-14 17:23:08 -0600847 M5329AFEE \
848 M5373EVB \
TsiChung Liew05316f82008-08-11 13:41:49 +0000849 M54451EVB \
TsiChungLiew8ae158c2007-08-16 15:05:11 -0500850 M54455EVB \
TsiChungLiew57a12722008-01-15 14:15:46 -0600851 M5475AFE \
852 M5485AFE \
Stefan Roesed61ea142007-08-15 14:51:27 +0200853 TASREG \
Heiko Schocher9acb6262006-04-20 08:42:42 +0200854"
Zachary P. Landauf8c3b4f2006-01-26 17:38:46 -0500855
Wolfgang Denk6ccec442006-10-24 14:42:37 +0200856#########################################################################
857## AVR32 Systems
858#########################################################################
859
Kim Phillipsfb565792007-08-10 15:34:48 -0500860LIST_avr32=" \
861 atstk1002 \
Haavard Skinnemoen667568d2007-10-29 13:02:54 +0100862 atstk1003 \
Haavard Skinnemoen64ff2352007-10-29 13:02:54 +0100863 atstk1004 \
Haavard Skinnemoen0a2e4872007-11-22 12:14:11 +0100864 atstk1006 \
Haavard Skinnemoen6b443942007-04-14 17:11:49 +0200865 atngw100 \
Hans-Christian Egtvedt0eb57172008-08-06 14:42:13 +0200866 favr-32-ezkit \
Julien May5c374c92008-06-23 13:57:52 +0200867 hammerhead \
Mark Jackson13b50fe2008-07-30 13:07:27 +0100868 mimc200 \
Kim Phillipsfb565792007-08-10 15:34:48 -0500869"
Wolfgang Denk6ccec442006-10-24 14:42:37 +0200870
Aubrey.Lief26a082007-03-09 13:40:56 +0800871#########################################################################
872## Blackfin Systems
873#########################################################################
874
Kim Phillipsfb565792007-08-10 15:34:48 -0500875LIST_blackfin=" \
Mike Frysinger84a9dda2008-10-12 21:32:52 -0400876 bf518f-ezbrd \
Mike Frysinger0c31ddf2008-10-12 21:30:48 -0400877 bf526-ezbrd \
Mike Frysingerd9a5d112008-10-12 20:59:12 -0400878 bf527-ezkit \
Michael Hennerich10eafa12009-12-10 09:19:21 +0000879 bf527-ezkit-v2 \
Kim Phillipsfb565792007-08-10 15:34:48 -0500880 bf533-ezkit \
881 bf533-stamp \
Mike Frysingerd7fdc142008-10-12 23:16:52 -0400882 bf537-minotaur \
Mike Frysingercb4b5e82008-10-12 23:08:03 -0400883 bf537-pnav \
Mike Frysinger59ac9722008-10-12 23:22:25 -0400884 bf537-srv1 \
Kim Phillipsfb565792007-08-10 15:34:48 -0500885 bf537-stamp \
Mike Frysinger5c45f7c2008-10-12 21:25:33 -0400886 bf538f-ezkit \
Mike Frysinger76d21802008-10-12 05:05:42 -0400887 bf548-ezkit \
Valentin Yakovenkov446707c2009-10-26 18:43:04 -0400888 bf561-acvilon \
Kim Phillipsfb565792007-08-10 15:34:48 -0500889 bf561-ezkit \
Mike Frysinger30881892008-10-12 23:28:33 -0400890 blackstamp \
Mike Frysinger59e4be92008-10-12 21:55:45 -0400891 cm-bf527 \
Mike Frysingere82d8a12008-10-12 21:36:22 -0400892 cm-bf533 \
Mike Frysinger8a9bab02008-10-12 21:41:06 -0400893 cm-bf537e \
Harald Krapfenbauer4640c2b2009-08-20 19:20:41 -0400894 cm-bf537u \
Mike Frysinger8b219cf2008-10-12 21:54:07 -0400895 cm-bf548 \
Mike Frysingere5483212008-10-12 21:45:05 -0400896 cm-bf561 \
Hoan Hoang0f52b562009-01-18 22:44:17 -0500897 ibf-dsp561 \
Harald Krapfenbauer2aeda2d2010-01-13 09:04:53 -0500898 tcm-bf518 \
Mike Frysinger9417d9a2008-10-12 21:49:28 -0400899 tcm-bf537 \
Aubrey.Lief26a082007-03-09 13:40:56 +0800900"
901
Jean-Christophe PLAGNIOL-VILLARDc7144372007-11-27 09:44:53 +0100902#########################################################################
903## SH Systems
904#########################################################################
905
Nobuhiro Iwamatsuc655fad2008-08-31 23:02:04 +0900906LIST_sh2=" \
907 rsk7203 \
908"
Wolfgang Denkd9a42c02008-04-20 15:35:52 -0700909LIST_sh3=" \
910 mpr2 \
911 ms7720se \
912"
913
Jean-Christophe PLAGNIOL-VILLARDc7144372007-11-27 09:44:53 +0100914LIST_sh4=" \
Nobuhiro Iwamatsuaa9c4f12007-11-29 00:13:04 +0900915 ms7750se \
Jean-Christophe PLAGNIOL-VILLARDc7144372007-11-27 09:44:53 +0100916 ms7722se \
Nobuhiro Iwamatsu9e23fe02008-07-08 12:03:24 +0900917 MigoR \
Yusuke Godac133c1f2008-03-11 12:55:12 +0900918 r7780mp \
Nobuhiro Iwamatsuf5e24662008-03-25 17:11:24 +0900919 r2dplus \
Nobuhiro Iwamatsu7faddae2008-06-09 13:39:57 +0900920 sh7763rdp \
Nobuhiro Iwamatsu0d53a472008-08-31 22:45:08 +0900921 sh7785lcr \
Nobuhiro Iwamatsu6f0da492008-08-22 17:39:09 +0900922 ap325rxa \
Nobuhiro Iwamatsu74d9c162009-06-25 16:31:26 +0900923 espt \
Jean-Christophe PLAGNIOL-VILLARDc7144372007-11-27 09:44:53 +0100924"
925
Jean-Christophe PLAGNIOL-VILLARDc7144372007-11-27 09:44:53 +0100926LIST_sh=" \
Nobuhiro Iwamatsu6f0da492008-08-22 17:39:09 +0900927 ${LIST_sh2} \
Jean-Christophe PLAGNIOL-VILLARDc7144372007-11-27 09:44:53 +0100928 ${LIST_sh3} \
929 ${LIST_sh4} \
930"
931
Daniel Hellstromc2f02da2008-03-28 09:47:00 +0100932#########################################################################
933## SPARC Systems
934#########################################################################
935
Daniel Hellstromab68f922008-03-28 10:20:43 +0100936LIST_sparc="gr_xc3s_1500 gr_cpci_ax2000 gr_ep2s60 grsim grsim_leon2"
Daniel Hellstromc2f02da2008-03-28 09:47:00 +0100937
wdenk7a8e9bed2003-05-31 18:35:21 +0000938#-----------------------------------------------------------------------
wdenk7ebf7442002-11-02 23:17:16 +0000939
940#----- for now, just run PPC by default -----
941[ $# = 0 ] && set $LIST_ppc
942
943#-----------------------------------------------------------------------
944
945build_target() {
946 target=$1
947
948 ${MAKE} distclean >/dev/null
949 ${MAKE} ${target}_config
Marian Balakowiczf9328632006-09-01 19:49:50 +0200950
951 ${MAKE} ${JOBS} all 2>&1 >${LOG_DIR}/$target.MAKELOG \
952 | tee ${LOG_DIR}/$target.ERR
Peter Tyserf2352872009-12-06 23:58:28 -0600953
954 # Check for 'make' errors
955 if [ ${PIPESTATUS[0]} -ne 0 ] ; then
956 RC=1
957 fi
958
Peter Tyser40a28f02009-09-21 12:04:32 -0500959 if [ -s ${LOG_DIR}/$target.ERR ] ; then
960 ERR_CNT=$((ERR_CNT + 1))
961 ERR_LIST="${ERR_LIST} $target"
962 else
963 rm ${LOG_DIR}/$target.ERR
964 fi
965
966 TOTAL_CNT=$((TOTAL_CNT + 1))
Marian Balakowiczf9328632006-09-01 19:49:50 +0200967
Mike Frysinger208447f2008-01-28 05:56:19 -0500968 ${CROSS_COMPILE}size ${BUILD_DIR}/u-boot \
Marian Balakowiczf9328632006-09-01 19:49:50 +0200969 | tee -a ${LOG_DIR}/$target.MAKELOG
wdenk7ebf7442002-11-02 23:17:16 +0000970}
971
972#-----------------------------------------------------------------------
973
Peter Tyser40a28f02009-09-21 12:04:32 -0500974print_stats() {
975 echo ""
976 echo "--------------------- SUMMARY ----------------------------"
977 echo "Boards compiled: ${TOTAL_CNT}"
978 if [ ${ERR_CNT} -gt 0 ] ; then
979 echo "Boards with warnings or errors: ${ERR_CNT} (${ERR_LIST} )"
980 fi
981 echo "----------------------------------------------------------"
Peter Tyserf2352872009-12-06 23:58:28 -0600982
983 exit $RC
Peter Tyser40a28f02009-09-21 12:04:32 -0500984}
wdenk7ebf7442002-11-02 23:17:16 +0000985
Peter Tyser40a28f02009-09-21 12:04:32 -0500986#-----------------------------------------------------------------------
wdenk7ebf7442002-11-02 23:17:16 +0000987for arg in $@
988do
989 case "$arg" in
Dirk Behmef904cdb2009-01-27 18:19:12 +0100990 arm|SA|ARM7|ARM9|ARM10|ARM11|ARM_CORTEX_A8|at91|ixp|pxa \
Wolfgang Denkd9a42c02008-04-20 15:35:52 -0700991 |avr32 \
992 |blackfin \
993 |coldfire \
994 |microblaze \
995 |mips|mips_el \
996 |nios|nios2 \
997 |ppc|5xx|5xxx|512x|8xx|8220|824x|8260|83xx|85xx|86xx|4xx|7xx|74xx|TSEC \
Nobuhiro Iwamatsu3aeb1ff2008-08-28 14:50:52 +0900998 |sh|sh2|sh3|sh4 \
Wolfgang Denkd9a42c02008-04-20 15:35:52 -0700999 |sparc \
1000 |x86|I486 \
Jean-Christophe PLAGNIOL-VILLARDc7144372007-11-27 09:44:53 +01001001 )
wdenk7ebf7442002-11-02 23:17:16 +00001002 for target in `eval echo '$LIST_'${arg}`
1003 do
1004 build_target ${target}
1005 done
1006 ;;
1007 *) build_target ${arg}
1008 ;;
1009 esac
1010done