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