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