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