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