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