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