]>
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=" \ |
1dee9be6 | 361 | caddy2 \ |
de044361 | 362 | kmeter1 \ |
fb56579f | 363 | MPC8313ERDB_33 \ |
64ac1eb5 | 364 | MPC8313ERDB_NAND_66 \ |
8bd522ce | 365 | MPC8315ERDB \ |
2e95004d | 366 | MPC8315ERDB_NAND \ |
19fa1c35 | 367 | MPC8323ERDB \ |
fb56579f | 368 | MPC832XEMDS \ |
281df457 | 369 | MPC832XEMDS_ATM \ |
fb56579f KP |
370 | MPC8349EMDS \ |
371 | MPC8349ITX \ | |
372 | MPC8349ITXGP \ | |
373 | MPC8360EMDS \ | |
281df457 | 374 | MPC8360EMDS_ATM \ |
fab6f556 AV |
375 | MPC8360ERDK_33 \ |
376 | MPC8360ERDK_66 \ | |
b21add4b | 377 | MPC837XEMDS \ |
5e918a98 | 378 | MPC837XERDB \ |
a1293e54 | 379 | MVBLM7 \ |
fb56579f | 380 | sbc8349 \ |
5bb907a4 | 381 | SIMPC8313_LP \ |
fb56579f | 382 | TQM834x \ |
c2e49f70 | 383 | vme8349 \ |
f046ccd1 EL |
384 | " |
385 | ||
386 | ||
42d1f039 WD |
387 | ######################################################################### |
388 | ## MPC85xx Systems (includes 8540, 8560 etc.) | |
389 | ######################################################################### | |
390 | ||
fb56579f | 391 | LIST_85xx=" \ |
7bd6104b | 392 | ATUM8548 \ |
9490a7f1 | 393 | MPC8536DS \ |
9a1a0aed | 394 | MPC8536DS_NAND \ |
e40ac487 MH |
395 | MPC8536DS_SDCARD \ |
396 | MPC8536DS_SPIFLASH \ | |
fb56579f KP |
397 | MPC8540ADS \ |
398 | MPC8540EVAL \ | |
399 | MPC8541CDS \ | |
400 | MPC8544DS \ | |
401 | MPC8548CDS \ | |
402 | MPC8555CDS \ | |
403 | MPC8560ADS \ | |
404 | MPC8568MDS \ | |
765547dc | 405 | MPC8569MDS \ |
129ba616 | 406 | MPC8572DS \ |
18af1c5f | 407 | MPC8572DS_36BIT \ |
feb7838f SS |
408 | P2020DS \ |
409 | P2020DS_36BIT \ | |
c17b79fb | 410 | P1011RDB \ |
f7780ec9 | 411 | P1011RDB_NAND \ |
fad15096 DD |
412 | P1011RDB_SDCARD \ |
413 | P1011RDB_SPIFLASH \ | |
bf488bc0 | 414 | P1020RDB \ |
f7780ec9 | 415 | P1020RDB_NAND \ |
fad15096 DD |
416 | P1020RDB_SDCARD \ |
417 | P1020RDB_SPIFLASH \ | |
c17b79fb | 418 | P2010RDB \ |
f7780ec9 | 419 | P2010RDB_NAND \ |
fad15096 DD |
420 | P2010RDB_SDCARD \ |
421 | P2010RDB_SPIFLASH \ | |
728ece34 | 422 | P2020RDB \ |
f7780ec9 | 423 | P2020RDB_NAND \ |
fad15096 DD |
424 | P2020RDB_SDCARD \ |
425 | P2020RDB_SPIFLASH \ | |
fb56579f KP |
426 | PM854 \ |
427 | PM856 \ | |
428 | sbc8540 \ | |
11c45ebd | 429 | sbc8548 \ |
2738bc8d PG |
430 | sbc8548_PCI_33 \ |
431 | sbc8548_PCI_66 \ | |
432 | sbc8548_PCI_33_PCIE \ | |
433 | sbc8548_PCI_66_PCIE \ | |
fb56579f | 434 | sbc8560 \ |
5d108ac8 | 435 | socrates \ |
fb56579f KP |
436 | stxgp3 \ |
437 | stxssa \ | |
438 | TQM8540 \ | |
439 | TQM8541 \ | |
1287e0c5 | 440 | TQM8548 \ |
a865bcda | 441 | TQM8548_AG \ |
ad7ee5d4 | 442 | TQM8548_BE \ |
fb56579f KP |
443 | TQM8555 \ |
444 | TQM8560 \ | |
78bbc5ce | 445 | XPEDITE5200 \ |
ccf0fdd0 | 446 | XPEDITE5370 \ |
42d1f039 WD |
447 | " |
448 | ||
822d5536 JL |
449 | ######################################################################### |
450 | ## MPC86xx Systems | |
451 | ######################################################################### | |
452 | ||
fb56579f | 453 | LIST_86xx=" \ |
3c89d754 | 454 | MPC8610HPCD \ |
fb56579f | 455 | MPC8641HPCN \ |
ff7640c9 | 456 | sbc8641d \ |
5da6f806 | 457 | XPEDITE5170 \ |
822d5536 JL |
458 | " |
459 | ||
7ebf7443 WD |
460 | ######################################################################### |
461 | ## 74xx/7xx Systems | |
462 | ######################################################################### | |
463 | ||
fb56579f KP |
464 | LIST_74xx=" \ |
465 | DB64360 \ | |
466 | DB64460 \ | |
467 | EVB64260 \ | |
468 | mpc7448hpc2 \ | |
469 | P3G4 \ | |
470 | p3m7448 \ | |
471 | PCIPPC2 \ | |
472 | PCIPPC6 \ | |
473 | ZUMA \ | |
7ebf7443 WD |
474 | " |
475 | ||
fb56579f KP |
476 | LIST_7xx=" \ |
477 | BAB7xx \ | |
478 | CPCI750 \ | |
479 | ELPPC \ | |
480 | p3m750 \ | |
481 | ppmc7xx \ | |
7ebf7443 WD |
482 | " |
483 | ||
d9a42c0a WD |
484 | ######################################################################### |
485 | ## PowerPC groups | |
486 | ######################################################################### | |
487 | ||
488 | LIST_TSEC=" \ | |
489 | ${LIST_83xx} \ | |
490 | ${LIST_85xx} \ | |
491 | ${LIST_86xx} \ | |
492 | " | |
493 | ||
fb56579f KP |
494 | LIST_ppc=" \ |
495 | ${LIST_5xx} \ | |
3deca9d4 | 496 | ${LIST_512x} \ |
fb56579f KP |
497 | ${LIST_5xxx} \ |
498 | ${LIST_8xx} \ | |
499 | ${LIST_8220} \ | |
500 | ${LIST_824x} \ | |
501 | ${LIST_8260} \ | |
502 | ${LIST_83xx} \ | |
503 | ${LIST_85xx} \ | |
504 | ${LIST_86xx} \ | |
505 | ${LIST_4xx} \ | |
506 | ${LIST_74xx} \ | |
507 | ${LIST_7xx} \ | |
508 | " | |
7ebf7443 WD |
509 | |
510 | ######################################################################### | |
511 | ## StrongARM Systems | |
512 | ######################################################################### | |
513 | ||
fb56579f KP |
514 | LIST_SA=" \ |
515 | assabet \ | |
516 | dnp1110 \ | |
517 | gcplus \ | |
518 | lart \ | |
519 | shannon \ | |
520 | " | |
7ebf7443 WD |
521 | |
522 | ######################################################################### | |
523 | ## ARM7 Systems | |
524 | ######################################################################### | |
525 | ||
fb56579f KP |
526 | LIST_ARM7=" \ |
527 | ap7 \ | |
528 | ap720t \ | |
529 | armadillo \ | |
530 | B2 \ | |
531 | ep7312 \ | |
532 | evb4510 \ | |
533 | impa7 \ | |
534 | integratorap \ | |
535 | lpc2292sodimm \ | |
536 | modnet50 \ | |
537 | SMN42 \ | |
74f4304e | 538 | " |
7ebf7443 WD |
539 | |
540 | ######################################################################### | |
541 | ## ARM9 Systems | |
542 | ######################################################################### | |
543 | ||
fb56579f | 544 | LIST_ARM9=" \ |
43a5f0df | 545 | a320evb \ |
fb56579f KP |
546 | ap920t \ |
547 | ap922_XA10 \ | |
548 | ap926ejs \ | |
549 | ap946es \ | |
550 | ap966 \ | |
551 | cp920t \ | |
552 | cp922_XA10 \ | |
553 | cp926ejs \ | |
554 | cp946es \ | |
555 | cp966 \ | |
2819e136 | 556 | da830evm \ |
10bc241d | 557 | imx27lite \ |
fb56579f | 558 | lpd7a400 \ |
4abc5bff | 559 | mv88f6281gtw_ge \ |
fb56579f KP |
560 | mx1ads \ |
561 | mx1fs2 \ | |
562 | netstar \ | |
ceb70b46 JCPV |
563 | nhk8815 \ |
564 | nhk8815_onenand \ | |
fb56579f KP |
565 | omap1510inn \ |
566 | omap1610h2 \ | |
567 | omap1610inn \ | |
a3543d6d | 568 | omap5912osk \ |
fb56579f | 569 | omap730p2 \ |
e92daeb5 | 570 | openrd_base \ |
fbc8365a | 571 | rd6281a \ |
fb56579f KP |
572 | sbc2410x \ |
573 | scb9328 \ | |
55dd4ba5 | 574 | sheevaplug \ |
fb56579f KP |
575 | smdk2400 \ |
576 | smdk2410 \ | |
577 | trab \ | |
578 | VCMA9 \ | |
579 | versatile \ | |
580 | versatileab \ | |
581 | versatilepb \ | |
582 | voiceblue \ | |
583 | davinci_dvevm \ | |
584 | davinci_schmoogie \ | |
c7f879ec | 585 | davinci_sffsdr \ |
fb56579f | 586 | davinci_sonata \ |
28b00324 | 587 | davinci_dm355evm \ |
5df65cf5 | 588 | davinci_dm355leopard \ |
6ab176d7 | 589 | davinci_dm6467evm \ |
6f21347d | 590 | " |
7ebf7443 | 591 | |
74f4304e WD |
592 | ######################################################################### |
593 | ## ARM10 Systems | |
594 | ######################################################################### | |
fb56579f KP |
595 | LIST_ARM10=" \ |
596 | integratorcp \ | |
597 | cp1026 \ | |
74f4304e WD |
598 | " |
599 | ||
8ed96046 WD |
600 | ######################################################################### |
601 | ## ARM11 Systems | |
602 | ######################################################################### | |
0c692673 GL |
603 | LIST_ARM11=" \ |
604 | cp1136 \ | |
605 | omap2420h4 \ | |
606 | apollon \ | |
607 | imx31_litekit \ | |
608 | imx31_phycore \ | |
609 | imx31_phycore_eet \ | |
610 | mx31ads \ | |
8449f287 | 611 | mx31pdk \ |
d08e5ca3 | 612 | mx31pdk_nand \ |
0c692673 GL |
613 | qong \ |
614 | smdk6400 \ | |
74f4304e | 615 | " |
8ed96046 | 616 | |
f904cdbb DB |
617 | ######################################################################### |
618 | ## ARM Cortex-A8 Systems | |
619 | ######################################################################### | |
620 | LIST_ARM_CORTEX_A8=" \ | |
c35d7cf0 | 621 | devkit8000 \ |
f904cdbb | 622 | omap3_beagle \ |
9d0fc811 | 623 | omap3_overo \ |
ad9bc8e5 | 624 | omap3_evm \ |
2be2c6cc | 625 | omap3_pandora \ |
e63e5904 | 626 | omap3_sdp3430 \ |
7379f45a | 627 | omap3_zoom1 \ |
376aee78 | 628 | omap3_zoom2 \ |
8bc4ee9e | 629 | smdkc100 \ |
f904cdbb DB |
630 | " |
631 | ||
602cac13 JCPV |
632 | ######################################################################### |
633 | ## AT91 Systems | |
634 | ######################################################################### | |
635 | ||
22ee6473 SG |
636 | LIST_at91=" \ |
637 | afeb9260 \ | |
638 | at91cap9adk \ | |
639 | at91rm9200dk \ | |
640 | at91rm9200ek \ | |
641 | at91sam9260ek \ | |
642 | at91sam9261ek \ | |
643 | at91sam9263ek \ | |
d8380c9d | 644 | at91sam9g10ek \ |
22ee6473 | 645 | at91sam9g20ek \ |
5ccc2d99 | 646 | at91sam9m10g45ek \ |
22ee6473 SG |
647 | at91sam9rlek \ |
648 | cmc_pu2 \ | |
d8380c9d | 649 | CPUAT91 \ |
23b80982 TR |
650 | CPU9260 \ |
651 | CPU9G20 \ | |
22ee6473 SG |
652 | csb637 \ |
653 | kb9202 \ | |
654 | meesc \ | |
655 | mp2usb \ | |
656 | m501sk \ | |
657 | pm9261 \ | |
658 | pm9263 \ | |
2dc851e3 AT |
659 | SBC35_A9G20 \ |
660 | TNY_A9260 \ | |
661 | TNY_A9G20 \ | |
602cac13 JCPV |
662 | " |
663 | ||
7ebf7443 WD |
664 | ######################################################################### |
665 | ## Xscale Systems | |
666 | ######################################################################### | |
667 | ||
fb56579f | 668 | LIST_pxa=" \ |
fb56579f KP |
669 | cerf250 \ |
670 | cradle \ | |
671 | csb226 \ | |
672 | delta \ | |
673 | innokom \ | |
674 | lubbock \ | |
675 | pleb2 \ | |
040f8f63 | 676 | polaris \ |
fb56579f | 677 | pxa255_idp \ |
040f8f63 | 678 | trizepsiv \ |
fb56579f KP |
679 | wepep250 \ |
680 | xaeniax \ | |
681 | xm250 \ | |
682 | xsengine \ | |
683 | zylonite \ | |
4ec3a7f0 | 684 | " |
7ebf7443 | 685 | |
fb56579f | 686 | LIST_ixp=" \ |
799891ef MS |
687 | actux1 \ |
688 | actux2 \ | |
689 | actux3 \ | |
690 | actux4 \ | |
fb56579f KP |
691 | ixdp425 \ |
692 | ixdpg425 \ | |
693 | pdnb3 \ | |
694 | scpu \ | |
695 | " | |
7ebf7443 | 696 | |
d9a42c0a WD |
697 | ######################################################################### |
698 | ## ARM groups | |
699 | ######################################################################### | |
2d5b561e | 700 | |
f904cdbb DB |
701 | LIST_arm=" \ |
702 | ${LIST_SA} \ | |
703 | ${LIST_ARM7} \ | |
704 | ${LIST_ARM9} \ | |
705 | ${LIST_ARM10} \ | |
706 | ${LIST_ARM11} \ | |
707 | ${LIST_ARM_CORTEX_A8} \ | |
708 | ${LIST_at91} \ | |
709 | ${LIST_pxa} \ | |
710 | ${LIST_ixp} \ | |
8ed96046 | 711 | " |
7ebf7443 | 712 | |
c021880a | 713 | ######################################################################### |
b62bdffb | 714 | ## MIPS Systems (default = big endian) |
c021880a WD |
715 | ######################################################################### |
716 | ||
fb56579f KP |
717 | LIST_mips4kc=" \ |
718 | incaip \ | |
0764c164 | 719 | qemu_mips \ |
2a61eff6 SR |
720 | vct_platinum \ |
721 | vct_platinum_small \ | |
722 | vct_platinum_onenand \ | |
723 | vct_platinum_onenand_small \ | |
724 | vct_platinumavc \ | |
725 | vct_platinumavc_small \ | |
726 | vct_platinumavc_onenand \ | |
727 | vct_platinumavc_onenand_small \ | |
728 | vct_premium \ | |
729 | vct_premium_small \ | |
730 | vct_premium_onenand \ | |
731 | vct_premium_onenand_small \ | |
fb56579f | 732 | " |
c021880a | 733 | |
fb56579f KP |
734 | LIST_mips5kc=" \ |
735 | purple \ | |
736 | " | |
3e38691e | 737 | |
fb56579f KP |
738 | LIST_au1xx0=" \ |
739 | dbau1000 \ | |
740 | dbau1100 \ | |
741 | dbau1500 \ | |
742 | dbau1550 \ | |
743 | dbau1550_el \ | |
744 | gth2 \ | |
745 | " | |
5da627a4 | 746 | |
fb56579f KP |
747 | LIST_mips=" \ |
748 | ${LIST_mips4kc} \ | |
749 | ${LIST_mips5kc} \ | |
750 | ${LIST_au1xx0} \ | |
751 | " | |
c021880a | 752 | |
b62bdffb WD |
753 | ######################################################################### |
754 | ## MIPS Systems (little endian) | |
755 | ######################################################################### | |
756 | ||
757 | LIST_mips4kc_el="" | |
758 | ||
759 | LIST_mips5kc_el="" | |
760 | ||
fb56579f KP |
761 | LIST_au1xx0_el=" \ |
762 | dbau1550_el \ | |
b09258c5 | 763 | pb1000 \ |
fb56579f | 764 | " |
b62bdffb | 765 | |
fb56579f KP |
766 | LIST_mips_el=" \ |
767 | ${LIST_mips4kc_el} \ | |
768 | ${LIST_mips5kc_el} \ | |
769 | ${LIST_au1xx0_el} \ | |
770 | " | |
b62bdffb | 771 | |
7a8e9bed WD |
772 | ######################################################################### |
773 | ## i386 Systems | |
774 | ######################################################################### | |
775 | ||
fb56579f KP |
776 | LIST_I486=" \ |
777 | sc520_cdp \ | |
c620c01e | 778 | sc520_eNET \ |
fb56579f KP |
779 | sc520_spunk \ |
780 | sc520_spunk_rel \ | |
781 | " | |
7a8e9bed | 782 | |
fb56579f KP |
783 | LIST_x86=" \ |
784 | ${LIST_I486} \ | |
785 | " | |
7a8e9bed | 786 | |
c935d3bd WD |
787 | ######################################################################### |
788 | ## NIOS Systems | |
789 | ######################################################################### | |
790 | ||
fb56579f KP |
791 | LIST_nios=" \ |
792 | ADNPESC1 \ | |
793 | ADNPESC1_base_32 \ | |
794 | ADNPESC1_DNPEVA2_base_32\ | |
795 | DK1C20 \ | |
796 | DK1C20_standard_32 \ | |
797 | DK1S10 \ | |
798 | DK1S10_standard_32 \ | |
799 | DK1S10_mtx_ldk_20 \ | |
c935d3bd WD |
800 | " |
801 | ||
5c952cf0 WD |
802 | ######################################################################### |
803 | ## Nios-II Systems | |
804 | ######################################################################### | |
805 | ||
fb56579f KP |
806 | LIST_nios2=" \ |
807 | EP1C20 \ | |
808 | EP1S10 \ | |
809 | EP1S40 \ | |
810 | PCI5441 \ | |
811 | PK1C20 \ | |
4176c799 | 812 | " |
5c952cf0 | 813 | |
857cad37 WD |
814 | ######################################################################### |
815 | ## MicroBlaze Systems | |
816 | ######################################################################### | |
817 | ||
52a822ed MS |
818 | LIST_microblaze=" \ |
819 | microblaze-generic \ | |
4176c799 | 820 | " |
857cad37 | 821 | |
f8c3b4f3 ZL |
822 | ######################################################################### |
823 | ## ColdFire Systems | |
824 | ######################################################################### | |
825 | ||
fb56579f KP |
826 | LIST_coldfire=" \ |
827 | cobra5272 \ | |
828 | EB+MCF-EV123 \ | |
829 | EB+MCF-EV123_internal \ | |
830 | idmr \ | |
bf9a5215 | 831 | M5208EVBE \ |
1552af70 | 832 | M52277EVB \ |
4a442d31 | 833 | M5235EVB \ |
a1436a84 | 834 | M5249EVB \ |
6d33c6ac | 835 | M5253DEMO \ |
f94945b5 | 836 | M5253EVBE \ |
fb56579f KP |
837 | M5271EVB \ |
838 | M5272C3 \ | |
545c8e0a | 839 | M5275EVB \ |
fb56579f | 840 | M5282EVB \ |
536e7dac | 841 | M53017EVB \ |
aa5f1f9d TL |
842 | M5329AFEE \ |
843 | M5373EVB \ | |
05316f8e | 844 | M54451EVB \ |
8ae158cd | 845 | M54455EVB \ |
57a12720 TL |
846 | M5475AFE \ |
847 | M5485AFE \ | |
d61ea148 | 848 | TASREG \ |
9acb626f | 849 | " |
f8c3b4f3 | 850 | |
6ccec449 WD |
851 | ######################################################################### |
852 | ## AVR32 Systems | |
853 | ######################################################################### | |
854 | ||
fb56579f KP |
855 | LIST_avr32=" \ |
856 | atstk1002 \ | |
667568db | 857 | atstk1003 \ |
64ff2357 | 858 | atstk1004 \ |
0a2e4879 | 859 | atstk1006 \ |
6b443944 | 860 | atngw100 \ |
0eb5717a | 861 | favr-32-ezkit \ |
5c374c9e | 862 | hammerhead \ |
13b50fe3 | 863 | mimc200 \ |
fb56579f | 864 | " |
6ccec449 | 865 | |
ef26a08f AL |
866 | ######################################################################### |
867 | ## Blackfin Systems | |
868 | ######################################################################### | |
869 | ||
fb56579f | 870 | LIST_blackfin=" \ |
84a9dda3 | 871 | bf518f-ezbrd \ |
0c31ddf7 | 872 | bf526-ezbrd \ |
d9a5d113 | 873 | bf527-ezkit \ |
10eafa10 | 874 | bf527-ezkit-v2 \ |
fb56579f KP |
875 | bf533-ezkit \ |
876 | bf533-stamp \ | |
d7fdc141 | 877 | bf537-minotaur \ |
cb4b5e87 | 878 | bf537-pnav \ |
59ac9729 | 879 | bf537-srv1 \ |
fb56579f | 880 | bf537-stamp \ |
5c45f7ca | 881 | bf538f-ezkit \ |
76d21803 | 882 | bf548-ezkit \ |
446707c9 | 883 | bf561-acvilon \ |
fb56579f | 884 | bf561-ezkit \ |
3088189a | 885 | blackstamp \ |
59e4be94 | 886 | cm-bf527 \ |
e82d8a1f | 887 | cm-bf533 \ |
8a9bab08 | 888 | cm-bf537e \ |
4640c2b8 | 889 | cm-bf537u \ |
8b219cf0 | 890 | cm-bf548 \ |
e548321a | 891 | cm-bf561 \ |
0f52b560 | 892 | ibf-dsp561 \ |
9417d9a2 | 893 | tcm-bf537 \ |
ef26a08f AL |
894 | " |
895 | ||
c7144373 JCPV |
896 | ######################################################################### |
897 | ## SH Systems | |
898 | ######################################################################### | |
899 | ||
c655fad0 NI |
900 | LIST_sh2=" \ |
901 | rsk7203 \ | |
902 | " | |
d9a42c0a WD |
903 | LIST_sh3=" \ |
904 | mpr2 \ | |
905 | ms7720se \ | |
906 | " | |
907 | ||
c7144373 | 908 | LIST_sh4=" \ |
aa9c4f1d | 909 | ms7750se \ |
c7144373 | 910 | ms7722se \ |
9e23fe05 | 911 | MigoR \ |
c133c1fb | 912 | r7780mp \ |
f5e2466f | 913 | r2dplus \ |
7faddaec | 914 | sh7763rdp \ |
0d53a47d | 915 | sh7785lcr \ |
6f0da497 | 916 | ap325rxa \ |
74d9c16a | 917 | espt \ |
c7144373 JCPV |
918 | " |
919 | ||
c7144373 | 920 | LIST_sh=" \ |
6f0da497 | 921 | ${LIST_sh2} \ |
c7144373 JCPV |
922 | ${LIST_sh3} \ |
923 | ${LIST_sh4} \ | |
924 | " | |
925 | ||
c2f02da2 DH |
926 | ######################################################################### |
927 | ## SPARC Systems | |
928 | ######################################################################### | |
929 | ||
ab68f921 | 930 | LIST_sparc="gr_xc3s_1500 gr_cpci_ax2000 gr_ep2s60 grsim grsim_leon2" |
c2f02da2 | 931 | |
7a8e9bed | 932 | #----------------------------------------------------------------------- |
7ebf7443 WD |
933 | |
934 | #----- for now, just run PPC by default ----- | |
935 | [ $# = 0 ] && set $LIST_ppc | |
936 | ||
937 | #----------------------------------------------------------------------- | |
938 | ||
939 | build_target() { | |
940 | target=$1 | |
941 | ||
942 | ${MAKE} distclean >/dev/null | |
943 | ${MAKE} ${target}_config | |
f9328639 MB |
944 | |
945 | ${MAKE} ${JOBS} all 2>&1 >${LOG_DIR}/$target.MAKELOG \ | |
946 | | tee ${LOG_DIR}/$target.ERR | |
f2352877 PT |
947 | |
948 | # Check for 'make' errors | |
949 | if [ ${PIPESTATUS[0]} -ne 0 ] ; then | |
950 | RC=1 | |
951 | fi | |
952 | ||
40a28f08 PT |
953 | if [ -s ${LOG_DIR}/$target.ERR ] ; then |
954 | ERR_CNT=$((ERR_CNT + 1)) | |
955 | ERR_LIST="${ERR_LIST} $target" | |
956 | else | |
957 | rm ${LOG_DIR}/$target.ERR | |
958 | fi | |
959 | ||
960 | TOTAL_CNT=$((TOTAL_CNT + 1)) | |
f9328639 | 961 | |
208447f8 | 962 | ${CROSS_COMPILE}size ${BUILD_DIR}/u-boot \ |
f9328639 | 963 | | tee -a ${LOG_DIR}/$target.MAKELOG |
7ebf7443 WD |
964 | } |
965 | ||
966 | #----------------------------------------------------------------------- | |
967 | ||
40a28f08 PT |
968 | print_stats() { |
969 | echo "" | |
970 | echo "--------------------- SUMMARY ----------------------------" | |
971 | echo "Boards compiled: ${TOTAL_CNT}" | |
972 | if [ ${ERR_CNT} -gt 0 ] ; then | |
973 | echo "Boards with warnings or errors: ${ERR_CNT} (${ERR_LIST} )" | |
974 | fi | |
975 | echo "----------------------------------------------------------" | |
f2352877 PT |
976 | |
977 | exit $RC | |
40a28f08 | 978 | } |
7ebf7443 | 979 | |
40a28f08 | 980 | #----------------------------------------------------------------------- |
7ebf7443 WD |
981 | for arg in $@ |
982 | do | |
983 | case "$arg" in | |
f904cdbb | 984 | arm|SA|ARM7|ARM9|ARM10|ARM11|ARM_CORTEX_A8|at91|ixp|pxa \ |
d9a42c0a WD |
985 | |avr32 \ |
986 | |blackfin \ | |
987 | |coldfire \ | |
988 | |microblaze \ | |
989 | |mips|mips_el \ | |
990 | |nios|nios2 \ | |
991 | |ppc|5xx|5xxx|512x|8xx|8220|824x|8260|83xx|85xx|86xx|4xx|7xx|74xx|TSEC \ | |
3aeb1ff7 | 992 | |sh|sh2|sh3|sh4 \ |
d9a42c0a WD |
993 | |sparc \ |
994 | |x86|I486 \ | |
c7144373 | 995 | ) |
7ebf7443 WD |
996 | for target in `eval echo '$LIST_'${arg}` |
997 | do | |
998 | build_target ${target} | |
999 | done | |
1000 | ;; | |
1001 | *) build_target ${arg} | |
1002 | ;; | |
1003 | esac | |
1004 | done |