Merge branch 'master' into next
[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         a320evb                 \
543         ap920t                  \
544         ap922_XA10              \
545         ap926ejs                \
546         ap946es                 \
547         ap966                   \
548         cp920t                  \
549         cp922_XA10              \
550         cp926ejs                \
551         cp946es                 \
552         cp966                   \
553         da830evm                \
554         imx27lite               \
555         lpd7a400                \
556         mv88f6281gtw_ge         \
557         mx1ads                  \
558         mx1fs2                  \
559         netstar                 \
560         nhk8815                 \
561         nhk8815_onenand         \
562         omap1510inn             \
563         omap1610h2              \
564         omap1610inn             \
565         omap5912osk             \
566         omap730p2               \
567         openrd_base             \
568         rd6281a                 \
569         sbc2410x                \
570         scb9328                 \
571         sheevaplug              \
572         smdk2400                \
573         smdk2410                \
574         trab                    \
575         VCMA9                   \
576         versatile               \
577         versatileab             \
578         versatilepb             \
579         voiceblue               \
580         davinci_dvevm           \
581         davinci_schmoogie       \
582         davinci_sffsdr          \
583         davinci_sonata          \
584         davinci_dm355evm        \
585         davinci_dm355leopard    \
586         davinci_dm6467evm       \
587 "
588
589 #########################################################################
590 ## ARM10 Systems
591 #########################################################################
592 LIST_ARM10="            \
593         integratorcp    \
594         cp1026          \
595 "
596
597 #########################################################################
598 ## ARM11 Systems
599 #########################################################################
600 LIST_ARM11="                    \
601         cp1136                  \
602         omap2420h4              \
603         apollon                 \
604         imx31_litekit           \
605         imx31_phycore           \
606         imx31_phycore_eet       \
607         mx31ads                 \
608         mx31pdk                 \
609         mx31pdk_nand            \
610         qong                    \
611         smdk6400                \
612 "
613
614 #########################################################################
615 ## ARM Cortex-A8 Systems
616 #########################################################################
617 LIST_ARM_CORTEX_A8="            \
618         devkit8000              \
619         omap3_beagle            \
620         omap3_overo             \
621         omap3_evm               \
622         omap3_pandora           \
623         omap3_sdp3430           \
624         omap3_zoom1             \
625         omap3_zoom2             \
626         smdkc100                \
627 "
628
629 #########################################################################
630 ## AT91 Systems
631 #########################################################################
632
633 LIST_at91="                     \
634         afeb9260                \
635         at91cap9adk             \
636         at91rm9200dk            \
637         at91rm9200ek            \
638         at91sam9260ek           \
639         at91sam9261ek           \
640         at91sam9263ek           \
641         at91sam9g10ek           \
642         at91sam9g20ek           \
643         at91sam9m10g45ek        \
644         at91sam9rlek            \
645         cmc_pu2                 \
646         CPUAT91                 \
647         CPU9260                 \
648         CPU9G20                 \
649         csb637                  \
650         kb9202                  \
651         meesc                   \
652         mp2usb                  \
653         m501sk                  \
654         pm9261                  \
655         pm9263                  \
656         SBC35_A9G20             \
657         TNY_A9260               \
658         TNY_A9G20               \
659 "
660
661 #########################################################################
662 ## Xscale Systems
663 #########################################################################
664
665 LIST_pxa="              \
666         cerf250         \
667         cradle          \
668         csb226          \
669         delta           \
670         innokom         \
671         lubbock         \
672         pleb2           \
673         polaris         \
674         pxa255_idp      \
675         trizepsiv       \
676         wepep250        \
677         xaeniax         \
678         xm250           \
679         xsengine        \
680         zylonite        \
681 "
682
683 LIST_ixp="              \
684         actux1          \
685         actux2          \
686         actux3          \
687         actux4          \
688         ixdp425         \
689         ixdpg425        \
690         pdnb3           \
691         scpu            \
692 "
693
694 #########################################################################
695 ## ARM groups
696 #########################################################################
697
698 LIST_arm="                      \
699         ${LIST_SA}              \
700         ${LIST_ARM7}            \
701         ${LIST_ARM9}            \
702         ${LIST_ARM10}           \
703         ${LIST_ARM11}           \
704         ${LIST_ARM_CORTEX_A8}   \
705         ${LIST_at91}            \
706         ${LIST_pxa}             \
707         ${LIST_ixp}             \
708 "
709
710 #########################################################################
711 ## MIPS Systems         (default = big endian)
712 #########################################################################
713
714 LIST_mips4kc="          \
715         incaip          \
716         qemu_mips       \
717         vct_platinum    \
718         vct_platinum_small      \
719         vct_platinum_onenand    \
720         vct_platinum_onenand_small      \
721         vct_platinumavc \
722         vct_platinumavc_small   \
723         vct_platinumavc_onenand \
724         vct_platinumavc_onenand_small   \
725         vct_premium     \
726         vct_premium_small       \
727         vct_premium_onenand     \
728         vct_premium_onenand_small       \
729 "
730
731 LIST_mips5kc="          \
732         purple          \
733 "
734
735 LIST_au1xx0="           \
736         dbau1000        \
737         dbau1100        \
738         dbau1500        \
739         dbau1550        \
740         dbau1550_el     \
741         gth2            \
742 "
743
744 LIST_mips="             \
745         ${LIST_mips4kc} \
746         ${LIST_mips5kc} \
747         ${LIST_au1xx0}  \
748 "
749
750 #########################################################################
751 ## MIPS Systems         (little endian)
752 #########################################################################
753
754 LIST_mips4kc_el=""
755
756 LIST_mips5kc_el=""
757
758 LIST_au1xx0_el="        \
759         dbau1550_el     \
760         pb1000          \
761 "
762
763 LIST_mips_el="                  \
764         ${LIST_mips4kc_el}      \
765         ${LIST_mips5kc_el}      \
766         ${LIST_au1xx0_el}       \
767 "
768
769 #########################################################################
770 ## i386 Systems
771 #########################################################################
772
773 LIST_I486="             \
774         sc520_cdp       \
775         sc520_eNET      \
776         sc520_spunk     \
777         sc520_spunk_rel \
778 "
779
780 LIST_x86="              \
781         ${LIST_I486}    \
782 "
783
784 #########################################################################
785 ## NIOS Systems
786 #########################################################################
787
788 LIST_nios="                     \
789         ADNPESC1                \
790         ADNPESC1_base_32        \
791         ADNPESC1_DNPEVA2_base_32\
792         DK1C20                  \
793         DK1C20_standard_32      \
794         DK1S10                  \
795         DK1S10_standard_32      \
796         DK1S10_mtx_ldk_20       \
797 "
798
799 #########################################################################
800 ## Nios-II Systems
801 #########################################################################
802
803 LIST_nios2="            \
804         EP1C20          \
805         EP1S10          \
806         EP1S40          \
807         PCI5441         \
808         PK1C20          \
809 "
810
811 #########################################################################
812 ## MicroBlaze Systems
813 #########################################################################
814
815 LIST_microblaze="                       \
816         microblaze-generic              \
817 "
818
819 #########################################################################
820 ## ColdFire Systems
821 #########################################################################
822
823 LIST_coldfire="                 \
824         cobra5272               \
825         EB+MCF-EV123            \
826         EB+MCF-EV123_internal   \
827         idmr                    \
828         M5208EVBE               \
829         M52277EVB               \
830         M5235EVB                \
831         M5249EVB                \
832         M5253DEMO               \
833         M5253EVBE               \
834         M5271EVB                \
835         M5272C3                 \
836         M5275EVB                \
837         M5282EVB                \
838         M53017EVB               \
839         M5329AFEE               \
840         M5373EVB                \
841         M54451EVB               \
842         M54455EVB               \
843         M5475AFE                \
844         M5485AFE                \
845         TASREG                  \
846 "
847
848 #########################################################################
849 ## AVR32 Systems
850 #########################################################################
851
852 LIST_avr32="            \
853         atstk1002       \
854         atstk1003       \
855         atstk1004       \
856         atstk1006       \
857         atngw100        \
858         favr-32-ezkit   \
859         hammerhead      \
860         mimc200         \
861 "
862
863 #########################################################################
864 ## Blackfin Systems
865 #########################################################################
866
867 LIST_blackfin="         \
868         bf518f-ezbrd    \
869         bf526-ezbrd     \
870         bf527-ezkit     \
871         bf533-ezkit     \
872         bf533-stamp     \
873         bf537-minotaur  \
874         bf537-pnav      \
875         bf537-srv1      \
876         bf537-stamp     \
877         bf538f-ezkit    \
878         bf548-ezkit     \
879         bf561-ezkit     \
880         blackstamp      \
881         cm-bf527        \
882         cm-bf533        \
883         cm-bf537e       \
884         cm-bf537u       \
885         cm-bf548        \
886         cm-bf561        \
887         ibf-dsp561      \
888         tcm-bf537       \
889 "
890
891 #########################################################################
892 ## SH Systems
893 #########################################################################
894
895 LIST_sh2="              \
896         rsk7203         \
897 "
898 LIST_sh3="              \
899         mpr2            \
900         ms7720se        \
901 "
902
903 LIST_sh4="              \
904         ms7750se        \
905         ms7722se        \
906         MigoR           \
907         r7780mp         \
908         r2dplus         \
909         sh7763rdp       \
910         sh7785lcr       \
911         ap325rxa        \
912         espt            \
913 "
914
915 LIST_sh="               \
916         ${LIST_sh2}     \
917         ${LIST_sh3}     \
918         ${LIST_sh4}     \
919 "
920
921 #########################################################################
922 ## SPARC Systems
923 #########################################################################
924
925 LIST_sparc="gr_xc3s_1500        gr_cpci_ax2000  gr_ep2s60       grsim   grsim_leon2"
926
927 #-----------------------------------------------------------------------
928
929 #----- for now, just run PPC by default -----
930 [ $# = 0 ] && set $LIST_ppc
931
932 #-----------------------------------------------------------------------
933
934 build_target() {
935         target=$1
936
937         ${MAKE} distclean >/dev/null
938         ${MAKE} ${target}_config
939
940         ${MAKE} ${JOBS} all 2>&1 >${LOG_DIR}/$target.MAKELOG \
941                                 | tee ${LOG_DIR}/$target.ERR
942         if [ -s ${LOG_DIR}/$target.ERR ] ; then
943                 ERR_CNT=$((ERR_CNT + 1))
944                 ERR_LIST="${ERR_LIST} $target"
945         else
946                 rm ${LOG_DIR}/$target.ERR
947         fi
948
949         TOTAL_CNT=$((TOTAL_CNT + 1))
950
951         ${CROSS_COMPILE}size ${BUILD_DIR}/u-boot \
952                                 | tee -a ${LOG_DIR}/$target.MAKELOG
953 }
954
955 #-----------------------------------------------------------------------
956
957 print_stats() {
958         echo ""
959         echo "--------------------- SUMMARY ----------------------------"
960         echo "Boards compiled: ${TOTAL_CNT}"
961         if [ ${ERR_CNT} -gt 0 ] ; then
962                 echo "Boards with warnings or errors: ${ERR_CNT} (${ERR_LIST} )"
963         fi
964         echo "----------------------------------------------------------"
965 }
966
967 #-----------------------------------------------------------------------
968 for arg in $@
969 do
970         case "$arg" in
971         arm|SA|ARM7|ARM9|ARM10|ARM11|ARM_CORTEX_A8|at91|ixp|pxa \
972         |avr32 \
973         |blackfin \
974         |coldfire \
975         |microblaze \
976         |mips|mips_el \
977         |nios|nios2 \
978         |ppc|5xx|5xxx|512x|8xx|8220|824x|8260|83xx|85xx|86xx|4xx|7xx|74xx|TSEC \
979         |sh|sh2|sh3|sh4 \
980         |sparc \
981         |x86|I486 \
982         )
983                         for target in `eval echo '$LIST_'${arg}`
984                         do
985                                 build_target ${target}
986                         done
987                         ;;
988         *)              build_target ${arg}
989                         ;;
990         esac
991 done