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