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