]>
Commit | Line | Data |
---|---|---|
7ebf7443 WD |
1 | #!/bin/sh |
2 | ||
40a28f08 PT |
3 | # Print statistics when we exit |
4 | trap exit 1 2 3 15 | |
5 | trap print_stats 0 | |
6 | ||
7fa6a2f3 WD |
7 | # Determine number of CPU cores if no default was set |
8 | : ${BUILD_NCPUS:="`getconf _NPROCESSORS_ONLN`"} | |
9 | ||
10 | if [ "$BUILD_NCPUS" -gt 1 ] | |
11 | then | |
55f786d8 | 12 | JOBS="-j $((BUILD_NCPUS + 1))" |
7fa6a2f3 WD |
13 | else |
14 | JOBS="" | |
15 | fi | |
16 | ||
a8c7c708 | 17 | |
7ebf7443 WD |
18 | if [ "${CROSS_COMPILE}" ] ; then |
19 | MAKE="make CROSS_COMPILE=${CROSS_COMPILE}" | |
20 | else | |
21 | MAKE=make | |
22 | fi | |
23 | ||
f9328639 MB |
24 | if [ "${MAKEALL_LOGDIR}" ] ; then |
25 | LOG_DIR=${MAKEALL_LOGDIR} | |
26 | else | |
27 | LOG_DIR="LOG" | |
28 | fi | |
887e2ec9 | 29 | |
f9328639 MB |
30 | if [ ! "${BUILD_DIR}" ] ; then |
31 | BUILD_DIR="." | |
32 | fi | |
33 | ||
4f0645eb | 34 | [ -d ${LOG_DIR} ] || mkdir ${LOG_DIR} || exit 1 |
7ebf7443 WD |
35 | |
36 | LIST="" | |
37 | ||
40a28f08 PT |
38 | # Keep track of the number of builds and errors |
39 | ERR_CNT=0 | |
40 | ERR_LIST="" | |
41 | TOTAL_CNT=0 | |
42 | ||
0db5bca8 WD |
43 | ######################################################################### |
44 | ## MPC5xx Systems | |
45 | ######################################################################### | |
46 | ||
fb56579f KP |
47 | LIST_5xx=" \ |
48 | cmi_mpc5xx \ | |
0db5bca8 WD |
49 | " |
50 | ||
945af8d7 WD |
51 | ######################################################################### |
52 | ## MPC5xxx Systems | |
53 | ######################################################################### | |
54 | ||
fb56579f KP |
55 | LIST_5xxx=" \ |
56 | BC3450 \ | |
57 | cm5200 \ | |
58 | cpci5200 \ | |
5c4fa9b4 | 59 | digsy_mtc \ |
fb56579f KP |
60 | EVAL5200 \ |
61 | fo300 \ | |
5b53b29b | 62 | galaxy5200 \ |
fb56579f KP |
63 | icecube_5100 \ |
64 | icecube_5200 \ | |
12a67a9e | 65 | inka4x0 \ |
fb56579f KP |
66 | lite5200b \ |
67 | mcc200 \ | |
68 | mecp5200 \ | |
69 | motionpro \ | |
6341d9d7 | 70 | munices \ |
5e0de0e2 | 71 | MVBC_P \ |
fb56579f | 72 | o2dnt \ |
c9969947 | 73 | pcm030 \ |
fb56579f KP |
74 | pf5200 \ |
75 | PM520 \ | |
76 | TB5200 \ | |
77 | Total5100 \ | |
78 | Total5200 \ | |
79 | Total5200_Rev2 \ | |
80 | TQM5200 \ | |
81 | TQM5200_B \ | |
82 | TQM5200S \ | |
83 | v38b \ | |
945af8d7 WD |
84 | " |
85 | ||
8993e54b RJ |
86 | ######################################################################### |
87 | ## MPC512x Systems | |
88 | ######################################################################### | |
89 | ||
fb56579f | 90 | LIST_512x=" \ |
52568c36 | 91 | aria \ |
e53b507c | 92 | mecp5123 \ |
72601d04 | 93 | mpc5121ads \ |
945af8d7 WD |
94 | " |
95 | ||
7ebf7443 WD |
96 | ######################################################################### |
97 | ## MPC8xx Systems | |
98 | ######################################################################### | |
fb56579f KP |
99 | LIST_8xx=" \ |
100 | Adder87x \ | |
101 | AdderII \ | |
102 | ADS860 \ | |
103 | AMX860 \ | |
104 | c2mon \ | |
105 | CCM \ | |
106 | cogent_mpc8xx \ | |
107 | ELPT860 \ | |
108 | EP88x \ | |
109 | ESTEEM192E \ | |
110 | ETX094 \ | |
111 | FADS823 \ | |
112 | FADS850SAR \ | |
113 | FADS860T \ | |
114 | FLAGADM \ | |
115 | FPS850L \ | |
116 | GEN860T \ | |
117 | GEN860T_SC \ | |
118 | GENIETV \ | |
119 | GTH \ | |
120 | hermes \ | |
121 | IAD210 \ | |
122 | ICU862_100MHz \ | |
123 | IP860 \ | |
124 | IVML24 \ | |
125 | IVML24_128 \ | |
126 | IVML24_256 \ | |
127 | IVMS8 \ | |
128 | IVMS8_128 \ | |
129 | IVMS8_256 \ | |
130 | KUP4K \ | |
131 | KUP4X \ | |
132 | LANTEC \ | |
133 | lwmon \ | |
1b6275df | 134 | kmsupx4 \ |
fb56579f KP |
135 | MBX \ |
136 | MBX860T \ | |
381e4e63 | 137 | mgsuvd \ |
fb56579f KP |
138 | MHPC \ |
139 | MPC86xADS \ | |
140 | MPC885ADS \ | |
fb56579f KP |
141 | NETPHONE \ |
142 | NETTA \ | |
143 | NETTA2 \ | |
144 | NETTA_ISDN \ | |
145 | NETVIA \ | |
146 | NETVIA_V2 \ | |
147 | NX823 \ | |
148 | pcu_e \ | |
149 | QS823 \ | |
150 | QS850 \ | |
151 | QS860T \ | |
152 | quantum \ | |
153 | R360MPI \ | |
154 | RBC823 \ | |
155 | rmu \ | |
156 | RPXClassic \ | |
157 | RPXlite \ | |
158 | RPXlite_DW \ | |
159 | RRvision \ | |
160 | SM850 \ | |
161 | spc1920 \ | |
162 | SPD823TS \ | |
163 | svm_sc8xx \ | |
164 | SXNI855T \ | |
efc6f447 | 165 | TK885D \ |
fb56579f KP |
166 | TOP860 \ |
167 | TQM823L \ | |
168 | TQM823L_LCD \ | |
169 | TQM850L \ | |
170 | TQM855L \ | |
171 | TQM860L \ | |
172 | TQM885D \ | |
173 | uc100 \ | |
174 | v37 \ | |
7ebf7443 WD |
175 | " |
176 | ||
177 | ######################################################################### | |
178 | ## PPC4xx Systems | |
179 | ######################################################################### | |
180 | ||
fb56579f KP |
181 | LIST_4xx=" \ |
182 | acadia \ | |
183 | acadia_nand \ | |
184 | ADCIOP \ | |
185 | alpr \ | |
186 | AP1000 \ | |
187 | AR405 \ | |
f09f09d3 | 188 | arches \ |
fb56579f KP |
189 | ASH405 \ |
190 | bamboo \ | |
191 | bamboo_nand \ | |
192 | bubinga \ | |
193 | CANBT \ | |
c813f1f8 | 194 | canyonlands \ |
71665ebf | 195 | canyonlands_nand \ |
fb56579f KP |
196 | CMS700 \ |
197 | CPCI2DP \ | |
198 | CPCI405 \ | |
199 | CPCI4052 \ | |
200 | CPCI405AB \ | |
201 | CPCI405DT \ | |
fb56579f KP |
202 | CPCIISER4 \ |
203 | CRAYL1 \ | |
204 | csb272 \ | |
205 | csb472 \ | |
206 | DASA_SIM \ | |
ab4c62c1 | 207 | devconcenter \ |
b209a114 | 208 | dlvision \ |
fb56579f KP |
209 | DP405 \ |
210 | DU405 \ | |
1a3ac86b | 211 | DU440 \ |
fb56579f KP |
212 | ebony \ |
213 | ERIC \ | |
214 | EXBITGEN \ | |
5deb8022 | 215 | fx12mm \ |
fb56579f | 216 | G2000 \ |
89b8619a | 217 | gdppc440etx \ |
4c9e8557 | 218 | glacier \ |
353f2688 | 219 | haleakala \ |
3d6cb3b2 | 220 | haleakala_nand \ |
3b3bff4c SR |
221 | hcu4 \ |
222 | hcu5 \ | |
fb56579f KP |
223 | HH405 \ |
224 | HUB405 \ | |
4c188367 | 225 | intip \ |
fb56579f KP |
226 | JSE \ |
227 | KAREF \ | |
228 | katmai \ | |
566806ca | 229 | kilauea \ |
3d6cb3b2 | 230 | kilauea_nand \ |
c591dffe | 231 | korat \ |
fb56579f KP |
232 | luan \ |
233 | lwmon5 \ | |
211ea91a | 234 | makalu \ |
b05f3543 | 235 | mcu25 \ |
fb56579f KP |
236 | METROBOX \ |
237 | MIP405 \ | |
238 | MIP405T \ | |
239 | ML2 \ | |
240 | ml300 \ | |
086511fc | 241 | ml507 \ |
01a00431 | 242 | ml507_flash \ |
d7b26d58 | 243 | neo \ |
fb56579f KP |
244 | ocotea \ |
245 | OCRTC \ | |
246 | ORSG \ | |
247 | p3p440 \ | |
248 | PCI405 \ | |
249 | pcs440ep \ | |
250 | PIP405 \ | |
251 | PLU405 \ | |
252 | PMC405 \ | |
99d8b23b | 253 | PMC405DE \ |
8ba132ca | 254 | PMC440 \ |
fb56579f | 255 | PPChameleonEVB \ |
73ccb341 | 256 | quad100hd \ |
6da0c5bd | 257 | rainier \ |
0ce5c867 | 258 | redwood \ |
fb56579f KP |
259 | sbc405 \ |
260 | sc3 \ | |
261 | sequoia \ | |
262 | sequoia_nand \ | |
3b3bff4c | 263 | taihu \ |
fb56579f | 264 | taishan \ |
e07f4a80 RR |
265 | v5fx30teval \ |
266 | v5fx30teval_flash \ | |
fb56579f KP |
267 | VOH405 \ |
268 | VOM405 \ | |
269 | W7OLMC \ | |
270 | W7OLMG \ | |
271 | walnut \ | |
272 | WUH405 \ | |
e07f4a80 RR |
273 | xilinx-ppc440-generic \ |
274 | xilinx-ppc440-generic_flash \ | |
10c1b218 | 275 | XPEDITE1000 \ |
fb56579f KP |
276 | yellowstone \ |
277 | yosemite \ | |
278 | yucca \ | |
3b3bff4c | 279 | zeus \ |
7ebf7443 WD |
280 | " |
281 | ||
983fda83 WD |
282 | ######################################################################### |
283 | ## MPC8220 Systems | |
284 | ######################################################################### | |
285 | ||
fb56579f KP |
286 | LIST_8220=" \ |
287 | Alaska8220 \ | |
288 | Yukon8220 \ | |
983fda83 WD |
289 | " |
290 | ||
7ebf7443 WD |
291 | ######################################################################### |
292 | ## MPC824x Systems | |
293 | ######################################################################### | |
294 | ||
fb56579f KP |
295 | LIST_824x=" \ |
296 | A3000 \ | |
297 | barco \ | |
298 | BMW \ | |
299 | CPC45 \ | |
300 | CU824 \ | |
301 | debris \ | |
302 | eXalion \ | |
303 | HIDDEN_DRAGON \ | |
3c1d8954 | 304 | IDS8247 \ |
61525f2f | 305 | linkstation_HGLAN \ |
fb56579f KP |
306 | MOUSSE \ |
307 | MUSENKI \ | |
308 | MVBLUE \ | |
309 | OXC \ | |
310 | PN62 \ | |
311 | Sandpoint8240 \ | |
312 | Sandpoint8245 \ | |
313 | sbc8240 \ | |
314 | SL8245 \ | |
315 | utx8245 \ | |
7ebf7443 | 316 | " |
592c5cab | 317 | |
7ebf7443 | 318 | ######################################################################### |
7aa78614 | 319 | ## MPC8260 Systems (includes 8250, 8255 etc.) |
7ebf7443 WD |
320 | ######################################################################### |
321 | ||
fb56579f KP |
322 | LIST_8260=" \ |
323 | atc \ | |
324 | cogent_mpc8260 \ | |
325 | CPU86 \ | |
326 | CPU87 \ | |
327 | ep8248 \ | |
328 | ep8260 \ | |
329 | ep82xxm \ | |
330 | gw8260 \ | |
331 | hymod \ | |
332 | IPHASE4539 \ | |
333 | ISPAN \ | |
ac9db066 | 334 | mgcoge \ |
fb56579f KP |
335 | MPC8260ADS \ |
336 | MPC8266ADS \ | |
337 | MPC8272ADS \ | |
338 | PM826 \ | |
339 | PM828 \ | |
340 | ppmc8260 \ | |
341 | Rattler8248 \ | |
342 | RPXsuper \ | |
343 | rsdproto \ | |
344 | sacsng \ | |
345 | sbc8260 \ | |
346 | SCM \ | |
347 | TQM8260_AC \ | |
348 | TQM8260_AD \ | |
349 | TQM8260_AE \ | |
a38dc3ea | 350 | TQM8272 \ |
fb56579f | 351 | ZPC1900 \ |
7ebf7443 WD |
352 | " |
353 | ||
f046ccd1 EL |
354 | ######################################################################### |
355 | ## MPC83xx Systems (includes 8349, etc.) | |
356 | ######################################################################### | |
357 | ||
fb56579f | 358 | LIST_83xx=" \ |
de044361 | 359 | kmeter1 \ |
fb56579f | 360 | MPC8313ERDB_33 \ |
64ac1eb5 | 361 | MPC8313ERDB_NAND_66 \ |
8bd522ce | 362 | MPC8315ERDB \ |
19fa1c35 | 363 | MPC8323ERDB \ |
fb56579f | 364 | MPC832XEMDS \ |
281df457 | 365 | MPC832XEMDS_ATM \ |
fb56579f KP |
366 | MPC8349EMDS \ |
367 | MPC8349ITX \ | |
368 | MPC8349ITXGP \ | |
369 | MPC8360EMDS \ | |
281df457 | 370 | MPC8360EMDS_ATM \ |
fab6f556 AV |
371 | MPC8360ERDK_33 \ |
372 | MPC8360ERDK_66 \ | |
b21add4b | 373 | MPC837XEMDS \ |
5e918a98 | 374 | MPC837XERDB \ |
a1293e54 | 375 | MVBLM7 \ |
fb56579f | 376 | sbc8349 \ |
5bb907a4 | 377 | SIMPC8313_LP \ |
fb56579f | 378 | TQM834x \ |
c2e49f70 | 379 | vme8349 \ |
f046ccd1 EL |
380 | " |
381 | ||
382 | ||
42d1f039 WD |
383 | ######################################################################### |
384 | ## MPC85xx Systems (includes 8540, 8560 etc.) | |
385 | ######################################################################### | |
386 | ||
fb56579f | 387 | LIST_85xx=" \ |
7bd6104b | 388 | ATUM8548 \ |
9490a7f1 | 389 | MPC8536DS \ |
9a1a0aed | 390 | MPC8536DS_NAND \ |
e40ac487 MH |
391 | MPC8536DS_SDCARD \ |
392 | MPC8536DS_SPIFLASH \ | |
fb56579f KP |
393 | MPC8540ADS \ |
394 | MPC8540EVAL \ | |
395 | MPC8541CDS \ | |
396 | MPC8544DS \ | |
397 | MPC8548CDS \ | |
398 | MPC8555CDS \ | |
399 | MPC8560ADS \ | |
400 | MPC8568MDS \ | |
765547dc | 401 | MPC8569MDS \ |
129ba616 | 402 | MPC8572DS \ |
18af1c5f | 403 | MPC8572DS_36BIT \ |
feb7838f SS |
404 | P2020DS \ |
405 | P2020DS_36BIT \ | |
c17b79fb | 406 | P1011RDB \ |
f7780ec9 | 407 | P1011RDB_NAND \ |
fad15096 DD |
408 | P1011RDB_SDCARD \ |
409 | P1011RDB_SPIFLASH \ | |
bf488bc0 | 410 | P1020RDB \ |
f7780ec9 | 411 | P1020RDB_NAND \ |
fad15096 DD |
412 | P1020RDB_SDCARD \ |
413 | P1020RDB_SPIFLASH \ | |
c17b79fb | 414 | P2010RDB \ |
f7780ec9 | 415 | P2010RDB_NAND \ |
fad15096 DD |
416 | P2010RDB_SDCARD \ |
417 | P2010RDB_SPIFLASH \ | |
728ece34 | 418 | P2020RDB \ |
f7780ec9 | 419 | P2020RDB_NAND \ |
fad15096 DD |
420 | P2020RDB_SDCARD \ |
421 | P2020RDB_SPIFLASH \ | |
fb56579f KP |
422 | PM854 \ |
423 | PM856 \ | |
424 | sbc8540 \ | |
11c45ebd | 425 | sbc8548 \ |
2738bc8d PG |
426 | sbc8548_PCI_33 \ |
427 | sbc8548_PCI_66 \ | |
428 | sbc8548_PCI_33_PCIE \ | |
429 | sbc8548_PCI_66_PCIE \ | |
fb56579f | 430 | sbc8560 \ |
5d108ac8 | 431 | socrates \ |
fb56579f KP |
432 | stxgp3 \ |
433 | stxssa \ | |
434 | TQM8540 \ | |
435 | TQM8541 \ | |
1287e0c5 | 436 | TQM8548 \ |
a865bcda | 437 | TQM8548_AG \ |
ad7ee5d4 | 438 | TQM8548_BE \ |
fb56579f KP |
439 | TQM8555 \ |
440 | TQM8560 \ | |
78bbc5ce | 441 | XPEDITE5200 \ |
ccf0fdd0 | 442 | XPEDITE5370 \ |
42d1f039 WD |
443 | " |
444 | ||
822d5536 JL |
445 | ######################################################################### |
446 | ## MPC86xx Systems | |
447 | ######################################################################### | |
448 | ||
fb56579f | 449 | LIST_86xx=" \ |
3c89d754 | 450 | MPC8610HPCD \ |
fb56579f | 451 | MPC8641HPCN \ |
ff7640c9 | 452 | sbc8641d \ |
5da6f806 | 453 | XPEDITE5170 \ |
822d5536 JL |
454 | " |
455 | ||
7ebf7443 WD |
456 | ######################################################################### |
457 | ## 74xx/7xx Systems | |
458 | ######################################################################### | |
459 | ||
fb56579f KP |
460 | LIST_74xx=" \ |
461 | DB64360 \ | |
462 | DB64460 \ | |
463 | EVB64260 \ | |
464 | mpc7448hpc2 \ | |
465 | P3G4 \ | |
466 | p3m7448 \ | |
467 | PCIPPC2 \ | |
468 | PCIPPC6 \ | |
469 | ZUMA \ | |
7ebf7443 WD |
470 | " |
471 | ||
fb56579f KP |
472 | LIST_7xx=" \ |
473 | BAB7xx \ | |
474 | CPCI750 \ | |
475 | ELPPC \ | |
476 | p3m750 \ | |
477 | ppmc7xx \ | |
7ebf7443 WD |
478 | " |
479 | ||
d9a42c0a WD |
480 | ######################################################################### |
481 | ## PowerPC groups | |
482 | ######################################################################### | |
483 | ||
484 | LIST_TSEC=" \ | |
485 | ${LIST_83xx} \ | |
486 | ${LIST_85xx} \ | |
487 | ${LIST_86xx} \ | |
488 | " | |
489 | ||
fb56579f KP |
490 | LIST_ppc=" \ |
491 | ${LIST_5xx} \ | |
3deca9d4 | 492 | ${LIST_512x} \ |
fb56579f KP |
493 | ${LIST_5xxx} \ |
494 | ${LIST_8xx} \ | |
495 | ${LIST_8220} \ | |
496 | ${LIST_824x} \ | |
497 | ${LIST_8260} \ | |
498 | ${LIST_83xx} \ | |
499 | ${LIST_85xx} \ | |
500 | ${LIST_86xx} \ | |
501 | ${LIST_4xx} \ | |
502 | ${LIST_74xx} \ | |
503 | ${LIST_7xx} \ | |
504 | " | |
7ebf7443 WD |
505 | |
506 | ######################################################################### | |
507 | ## StrongARM Systems | |
508 | ######################################################################### | |
509 | ||
fb56579f KP |
510 | LIST_SA=" \ |
511 | assabet \ | |
512 | dnp1110 \ | |
513 | gcplus \ | |
514 | lart \ | |
515 | shannon \ | |
516 | " | |
7ebf7443 WD |
517 | |
518 | ######################################################################### | |
519 | ## ARM7 Systems | |
520 | ######################################################################### | |
521 | ||
fb56579f KP |
522 | LIST_ARM7=" \ |
523 | ap7 \ | |
524 | ap720t \ | |
525 | armadillo \ | |
526 | B2 \ | |
527 | ep7312 \ | |
528 | evb4510 \ | |
529 | impa7 \ | |
530 | integratorap \ | |
531 | lpc2292sodimm \ | |
532 | modnet50 \ | |
533 | SMN42 \ | |
74f4304e | 534 | " |
7ebf7443 WD |
535 | |
536 | ######################################################################### | |
537 | ## ARM9 Systems | |
538 | ######################################################################### | |
539 | ||
fb56579f | 540 | LIST_ARM9=" \ |
fb56579f KP |
541 | ap920t \ |
542 | ap922_XA10 \ | |
543 | ap926ejs \ | |
544 | ap946es \ | |
545 | ap966 \ | |
546 | cp920t \ | |
547 | cp922_XA10 \ | |
548 | cp926ejs \ | |
549 | cp946es \ | |
550 | cp966 \ | |
10bc241d | 551 | imx27lite \ |
fb56579f | 552 | lpd7a400 \ |
4abc5bff | 553 | mv88f6281gtw_ge \ |
fb56579f KP |
554 | mx1ads \ |
555 | mx1fs2 \ | |
556 | netstar \ | |
ceb70b46 JCPV |
557 | nhk8815 \ |
558 | nhk8815_onenand \ | |
fb56579f KP |
559 | omap1510inn \ |
560 | omap1610h2 \ | |
561 | omap1610inn \ | |
a3543d6d | 562 | omap5912osk \ |
fb56579f | 563 | omap730p2 \ |
e92daeb5 | 564 | openrd_base \ |
fbc8365a | 565 | rd6281a \ |
fb56579f KP |
566 | sbc2410x \ |
567 | scb9328 \ | |
55dd4ba5 | 568 | sheevaplug \ |
fb56579f KP |
569 | smdk2400 \ |
570 | smdk2410 \ | |
571 | trab \ | |
572 | VCMA9 \ | |
573 | versatile \ | |
574 | versatileab \ | |
575 | versatilepb \ | |
576 | voiceblue \ | |
577 | davinci_dvevm \ | |
578 | davinci_schmoogie \ | |
c7f879ec | 579 | davinci_sffsdr \ |
fb56579f | 580 | davinci_sonata \ |
28b00324 | 581 | davinci_dm355evm \ |
5df65cf5 | 582 | davinci_dm355leopard \ |
6ab176d7 | 583 | davinci_dm6467evm \ |
6f21347d | 584 | " |
7ebf7443 | 585 | |
74f4304e WD |
586 | ######################################################################### |
587 | ## ARM10 Systems | |
588 | ######################################################################### | |
fb56579f KP |
589 | LIST_ARM10=" \ |
590 | integratorcp \ | |
591 | cp1026 \ | |
74f4304e WD |
592 | " |
593 | ||
8ed96046 WD |
594 | ######################################################################### |
595 | ## ARM11 Systems | |
596 | ######################################################################### | |
0c692673 GL |
597 | LIST_ARM11=" \ |
598 | cp1136 \ | |
599 | omap2420h4 \ | |
600 | apollon \ | |
601 | imx31_litekit \ | |
602 | imx31_phycore \ | |
603 | imx31_phycore_eet \ | |
604 | mx31ads \ | |
8449f287 | 605 | mx31pdk \ |
d08e5ca3 | 606 | mx31pdk_nand \ |
0c692673 GL |
607 | qong \ |
608 | smdk6400 \ | |
74f4304e | 609 | " |
8ed96046 | 610 | |
f904cdbb DB |
611 | ######################################################################### |
612 | ## ARM Cortex-A8 Systems | |
613 | ######################################################################### | |
614 | LIST_ARM_CORTEX_A8=" \ | |
c35d7cf0 | 615 | devkit8000 \ |
f904cdbb | 616 | omap3_beagle \ |
9d0fc811 | 617 | omap3_overo \ |
ad9bc8e5 | 618 | omap3_evm \ |
2be2c6cc | 619 | omap3_pandora \ |
e63e5904 | 620 | omap3_sdp3430 \ |
7379f45a | 621 | omap3_zoom1 \ |
376aee78 | 622 | omap3_zoom2 \ |
8bc4ee9e | 623 | smdkc100 \ |
f904cdbb DB |
624 | " |
625 | ||
602cac13 JCPV |
626 | ######################################################################### |
627 | ## AT91 Systems | |
628 | ######################################################################### | |
629 | ||
22ee6473 SG |
630 | LIST_at91=" \ |
631 | afeb9260 \ | |
632 | at91cap9adk \ | |
633 | at91rm9200dk \ | |
634 | at91rm9200ek \ | |
635 | at91sam9260ek \ | |
636 | at91sam9261ek \ | |
637 | at91sam9263ek \ | |
d8380c9d | 638 | at91sam9g10ek \ |
22ee6473 | 639 | at91sam9g20ek \ |
5ccc2d99 | 640 | at91sam9m10g45ek \ |
22ee6473 SG |
641 | at91sam9rlek \ |
642 | cmc_pu2 \ | |
d8380c9d | 643 | CPUAT91 \ |
23b80982 TR |
644 | CPU9260 \ |
645 | CPU9G20 \ | |
22ee6473 SG |
646 | csb637 \ |
647 | kb9202 \ | |
648 | meesc \ | |
649 | mp2usb \ | |
650 | m501sk \ | |
651 | pm9261 \ | |
652 | pm9263 \ | |
2dc851e3 AT |
653 | SBC35_A9G20 \ |
654 | TNY_A9260 \ | |
655 | TNY_A9G20 \ | |
602cac13 JCPV |
656 | " |
657 | ||
7ebf7443 WD |
658 | ######################################################################### |
659 | ## Xscale Systems | |
660 | ######################################################################### | |
661 | ||
fb56579f | 662 | LIST_pxa=" \ |
fb56579f KP |
663 | cerf250 \ |
664 | cradle \ | |
665 | csb226 \ | |
666 | delta \ | |
667 | innokom \ | |
668 | lubbock \ | |
669 | pleb2 \ | |
040f8f63 | 670 | polaris \ |
fb56579f | 671 | pxa255_idp \ |
040f8f63 | 672 | trizepsiv \ |
fb56579f KP |
673 | wepep250 \ |
674 | xaeniax \ | |
675 | xm250 \ | |
676 | xsengine \ | |
677 | zylonite \ | |
4ec3a7f0 | 678 | " |
7ebf7443 | 679 | |
fb56579f | 680 | LIST_ixp=" \ |
799891ef MS |
681 | actux1 \ |
682 | actux2 \ | |
683 | actux3 \ | |
684 | actux4 \ | |
fb56579f KP |
685 | ixdp425 \ |
686 | ixdpg425 \ | |
687 | pdnb3 \ | |
688 | scpu \ | |
689 | " | |
7ebf7443 | 690 | |
d9a42c0a WD |
691 | ######################################################################### |
692 | ## ARM groups | |
693 | ######################################################################### | |
2d5b561e | 694 | |
f904cdbb DB |
695 | LIST_arm=" \ |
696 | ${LIST_SA} \ | |
697 | ${LIST_ARM7} \ | |
698 | ${LIST_ARM9} \ | |
699 | ${LIST_ARM10} \ | |
700 | ${LIST_ARM11} \ | |
701 | ${LIST_ARM_CORTEX_A8} \ | |
702 | ${LIST_at91} \ | |
703 | ${LIST_pxa} \ | |
704 | ${LIST_ixp} \ | |
8ed96046 | 705 | " |
7ebf7443 | 706 | |
c021880a | 707 | ######################################################################### |
b62bdffb | 708 | ## MIPS Systems (default = big endian) |
c021880a WD |
709 | ######################################################################### |
710 | ||
fb56579f KP |
711 | LIST_mips4kc=" \ |
712 | incaip \ | |
0764c164 | 713 | qemu_mips \ |
2a61eff6 SR |
714 | vct_platinum \ |
715 | vct_platinum_small \ | |
716 | vct_platinum_onenand \ | |
717 | vct_platinum_onenand_small \ | |
718 | vct_platinumavc \ | |
719 | vct_platinumavc_small \ | |
720 | vct_platinumavc_onenand \ | |
721 | vct_platinumavc_onenand_small \ | |
722 | vct_premium \ | |
723 | vct_premium_small \ | |
724 | vct_premium_onenand \ | |
725 | vct_premium_onenand_small \ | |
fb56579f | 726 | " |
c021880a | 727 | |
fb56579f KP |
728 | LIST_mips5kc=" \ |
729 | purple \ | |
730 | " | |
3e38691e | 731 | |
fb56579f KP |
732 | LIST_au1xx0=" \ |
733 | dbau1000 \ | |
734 | dbau1100 \ | |
735 | dbau1500 \ | |
736 | dbau1550 \ | |
737 | dbau1550_el \ | |
738 | gth2 \ | |
739 | " | |
5da627a4 | 740 | |
fb56579f KP |
741 | LIST_mips=" \ |
742 | ${LIST_mips4kc} \ | |
743 | ${LIST_mips5kc} \ | |
744 | ${LIST_au1xx0} \ | |
745 | " | |
c021880a | 746 | |
b62bdffb WD |
747 | ######################################################################### |
748 | ## MIPS Systems (little endian) | |
749 | ######################################################################### | |
750 | ||
751 | LIST_mips4kc_el="" | |
752 | ||
753 | LIST_mips5kc_el="" | |
754 | ||
fb56579f KP |
755 | LIST_au1xx0_el=" \ |
756 | dbau1550_el \ | |
b09258c5 | 757 | pb1000 \ |
fb56579f | 758 | " |
b62bdffb | 759 | |
fb56579f KP |
760 | LIST_mips_el=" \ |
761 | ${LIST_mips4kc_el} \ | |
762 | ${LIST_mips5kc_el} \ | |
763 | ${LIST_au1xx0_el} \ | |
764 | " | |
b62bdffb | 765 | |
7a8e9bed WD |
766 | ######################################################################### |
767 | ## i386 Systems | |
768 | ######################################################################### | |
769 | ||
fb56579f KP |
770 | LIST_I486=" \ |
771 | sc520_cdp \ | |
c620c01e | 772 | sc520_eNET \ |
fb56579f KP |
773 | sc520_spunk \ |
774 | sc520_spunk_rel \ | |
775 | " | |
7a8e9bed | 776 | |
fb56579f KP |
777 | LIST_x86=" \ |
778 | ${LIST_I486} \ | |
779 | " | |
7a8e9bed | 780 | |
c935d3bd WD |
781 | ######################################################################### |
782 | ## NIOS Systems | |
783 | ######################################################################### | |
784 | ||
fb56579f KP |
785 | LIST_nios=" \ |
786 | ADNPESC1 \ | |
787 | ADNPESC1_base_32 \ | |
788 | ADNPESC1_DNPEVA2_base_32\ | |
789 | DK1C20 \ | |
790 | DK1C20_standard_32 \ | |
791 | DK1S10 \ | |
792 | DK1S10_standard_32 \ | |
793 | DK1S10_mtx_ldk_20 \ | |
c935d3bd WD |
794 | " |
795 | ||
5c952cf0 WD |
796 | ######################################################################### |
797 | ## Nios-II Systems | |
798 | ######################################################################### | |
799 | ||
fb56579f KP |
800 | LIST_nios2=" \ |
801 | EP1C20 \ | |
802 | EP1S10 \ | |
803 | EP1S40 \ | |
804 | PCI5441 \ | |
805 | PK1C20 \ | |
4176c799 | 806 | " |
5c952cf0 | 807 | |
857cad37 WD |
808 | ######################################################################### |
809 | ## MicroBlaze Systems | |
810 | ######################################################################### | |
811 | ||
52a822ed MS |
812 | LIST_microblaze=" \ |
813 | microblaze-generic \ | |
4176c799 | 814 | " |
857cad37 | 815 | |
f8c3b4f3 ZL |
816 | ######################################################################### |
817 | ## ColdFire Systems | |
818 | ######################################################################### | |
819 | ||
fb56579f KP |
820 | LIST_coldfire=" \ |
821 | cobra5272 \ | |
822 | EB+MCF-EV123 \ | |
823 | EB+MCF-EV123_internal \ | |
824 | idmr \ | |
bf9a5215 | 825 | M5208EVBE \ |
1552af70 | 826 | M52277EVB \ |
4a442d31 | 827 | M5235EVB \ |
a1436a84 | 828 | M5249EVB \ |
6d33c6ac | 829 | M5253DEMO \ |
f94945b5 | 830 | M5253EVBE \ |
fb56579f KP |
831 | M5271EVB \ |
832 | M5272C3 \ | |
545c8e0a | 833 | M5275EVB \ |
fb56579f | 834 | M5282EVB \ |
536e7dac | 835 | M53017EVB \ |
aa5f1f9d TL |
836 | M5329AFEE \ |
837 | M5373EVB \ | |
05316f8e | 838 | M54451EVB \ |
8ae158cd | 839 | M54455EVB \ |
57a12720 TL |
840 | M5475AFE \ |
841 | M5485AFE \ | |
d61ea148 | 842 | TASREG \ |
9acb626f | 843 | " |
f8c3b4f3 | 844 | |
6ccec449 WD |
845 | ######################################################################### |
846 | ## AVR32 Systems | |
847 | ######################################################################### | |
848 | ||
fb56579f KP |
849 | LIST_avr32=" \ |
850 | atstk1002 \ | |
667568db | 851 | atstk1003 \ |
64ff2357 | 852 | atstk1004 \ |
0a2e4879 | 853 | atstk1006 \ |
6b443944 | 854 | atngw100 \ |
0eb5717a | 855 | favr-32-ezkit \ |
5c374c9e | 856 | hammerhead \ |
13b50fe3 | 857 | mimc200 \ |
fb56579f | 858 | " |
6ccec449 | 859 | |
ef26a08f AL |
860 | ######################################################################### |
861 | ## Blackfin Systems | |
862 | ######################################################################### | |
863 | ||
fb56579f | 864 | LIST_blackfin=" \ |
84a9dda3 | 865 | bf518f-ezbrd \ |
0c31ddf7 | 866 | bf526-ezbrd \ |
d9a5d113 | 867 | bf527-ezkit \ |
fb56579f KP |
868 | bf533-ezkit \ |
869 | bf533-stamp \ | |
d7fdc141 | 870 | bf537-minotaur \ |
cb4b5e87 | 871 | bf537-pnav \ |
59ac9729 | 872 | bf537-srv1 \ |
fb56579f | 873 | bf537-stamp \ |
5c45f7ca | 874 | bf538f-ezkit \ |
76d21803 | 875 | bf548-ezkit \ |
fb56579f | 876 | bf561-ezkit \ |
3088189a | 877 | blackstamp \ |
59e4be94 | 878 | cm-bf527 \ |
e82d8a1f | 879 | cm-bf533 \ |
8a9bab08 | 880 | cm-bf537e \ |
4640c2b8 | 881 | cm-bf537u \ |
8b219cf0 | 882 | cm-bf548 \ |
e548321a | 883 | cm-bf561 \ |
0f52b560 | 884 | ibf-dsp561 \ |
9417d9a2 | 885 | tcm-bf537 \ |
ef26a08f AL |
886 | " |
887 | ||
c7144373 JCPV |
888 | ######################################################################### |
889 | ## SH Systems | |
890 | ######################################################################### | |
891 | ||
c655fad0 NI |
892 | LIST_sh2=" \ |
893 | rsk7203 \ | |
894 | " | |
d9a42c0a WD |
895 | LIST_sh3=" \ |
896 | mpr2 \ | |
897 | ms7720se \ | |
898 | " | |
899 | ||
c7144373 | 900 | LIST_sh4=" \ |
aa9c4f1d | 901 | ms7750se \ |
c7144373 | 902 | ms7722se \ |
9e23fe05 | 903 | MigoR \ |
c133c1fb | 904 | r7780mp \ |
f5e2466f | 905 | r2dplus \ |
7faddaec | 906 | sh7763rdp \ |
0d53a47d | 907 | sh7785lcr \ |
6f0da497 | 908 | ap325rxa \ |
74d9c16a | 909 | espt \ |
c7144373 JCPV |
910 | " |
911 | ||
c7144373 | 912 | LIST_sh=" \ |
6f0da497 | 913 | ${LIST_sh2} \ |
c7144373 JCPV |
914 | ${LIST_sh3} \ |
915 | ${LIST_sh4} \ | |
916 | " | |
917 | ||
c2f02da2 DH |
918 | ######################################################################### |
919 | ## SPARC Systems | |
920 | ######################################################################### | |
921 | ||
ab68f921 | 922 | LIST_sparc="gr_xc3s_1500 gr_cpci_ax2000 gr_ep2s60 grsim grsim_leon2" |
c2f02da2 | 923 | |
7a8e9bed | 924 | #----------------------------------------------------------------------- |
7ebf7443 WD |
925 | |
926 | #----- for now, just run PPC by default ----- | |
927 | [ $# = 0 ] && set $LIST_ppc | |
928 | ||
929 | #----------------------------------------------------------------------- | |
930 | ||
931 | build_target() { | |
932 | target=$1 | |
933 | ||
934 | ${MAKE} distclean >/dev/null | |
935 | ${MAKE} ${target}_config | |
f9328639 MB |
936 | |
937 | ${MAKE} ${JOBS} all 2>&1 >${LOG_DIR}/$target.MAKELOG \ | |
938 | | tee ${LOG_DIR}/$target.ERR | |
40a28f08 PT |
939 | if [ -s ${LOG_DIR}/$target.ERR ] ; then |
940 | ERR_CNT=$((ERR_CNT + 1)) | |
941 | ERR_LIST="${ERR_LIST} $target" | |
942 | else | |
943 | rm ${LOG_DIR}/$target.ERR | |
944 | fi | |
945 | ||
946 | TOTAL_CNT=$((TOTAL_CNT + 1)) | |
f9328639 | 947 | |
208447f8 | 948 | ${CROSS_COMPILE}size ${BUILD_DIR}/u-boot \ |
f9328639 | 949 | | tee -a ${LOG_DIR}/$target.MAKELOG |
7ebf7443 WD |
950 | } |
951 | ||
952 | #----------------------------------------------------------------------- | |
953 | ||
40a28f08 PT |
954 | print_stats() { |
955 | echo "" | |
956 | echo "--------------------- SUMMARY ----------------------------" | |
957 | echo "Boards compiled: ${TOTAL_CNT}" | |
958 | if [ ${ERR_CNT} -gt 0 ] ; then | |
959 | echo "Boards with warnings or errors: ${ERR_CNT} (${ERR_LIST} )" | |
960 | fi | |
961 | echo "----------------------------------------------------------" | |
962 | } | |
7ebf7443 | 963 | |
40a28f08 | 964 | #----------------------------------------------------------------------- |
7ebf7443 WD |
965 | for arg in $@ |
966 | do | |
967 | case "$arg" in | |
f904cdbb | 968 | arm|SA|ARM7|ARM9|ARM10|ARM11|ARM_CORTEX_A8|at91|ixp|pxa \ |
d9a42c0a WD |
969 | |avr32 \ |
970 | |blackfin \ | |
971 | |coldfire \ | |
972 | |microblaze \ | |
973 | |mips|mips_el \ | |
974 | |nios|nios2 \ | |
975 | |ppc|5xx|5xxx|512x|8xx|8220|824x|8260|83xx|85xx|86xx|4xx|7xx|74xx|TSEC \ | |
3aeb1ff7 | 976 | |sh|sh2|sh3|sh4 \ |
d9a42c0a WD |
977 | |sparc \ |
978 | |x86|I486 \ | |
c7144373 | 979 | ) |
7ebf7443 WD |
980 | for target in `eval echo '$LIST_'${arg}` |
981 | do | |
982 | build_target ${target} | |
983 | done | |
984 | ;; | |
985 | *) build_target ${arg} | |
986 | ;; | |
987 | esac | |
988 | done |