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