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