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