#!/bin/sh
+: ${JOBS:=}
+
if [ "${CROSS_COMPILE}" ] ; then
MAKE="make CROSS_COMPILE=${CROSS_COMPILE}"
else
"
#########################################################################
+## MPC5xxx Systems
+#########################################################################
+
+LIST_5xxx=" \
+ cpci5200 icecube_5100 icecube_5200 EVAL5200 \
+ pf5200 PM520 Total5100 Total5200 \
+ Total5200_Rev2 TQM5200_auto o2dnt \
+"
+
+#########################################################################
## MPC8xx Systems
#########################################################################
LIST_8xx=" \
- ADS860 AMX860 c2mon CCM \
- cogent_mpc8xx ESTEEM192E ETX094 ELPT860 \
- FADS823 FADS850SAR FADS860T FLAGADM \
- FPS850L GEN860T GEN860T_SC GENIETV \
- GTH hermes IAD210 ICU862_100MHz \
- IP860 IVML24 IVML24_128 IVML24_256 \
- IVMS8 IVMS8_128 IVMS8_256 KUP4K \
- LANTEC lwmon MBX MBX860T \
- MHPC MVS1 NETVIA NX823 \
- pcu_e R360MPI RPXClassic RPXlite \
- RRvision SM850 SPD823TS svm_sc8xx \
- SXNI855T TOP860 TQM823L TQM823L_LCD \
- TQM850L TQM855L TQM860L TTTech \
- v37 \
+ Adder87x GENIETV MBX860T R360MPI \
+ AdderII GTH MHPC RBC823 \
+ ADS860 hermes MPC86xADS rmu \
+ AMX860 IAD210 MPC885ADS RPXClassic \
+ c2mon ICU862_100MHz MVS1 RPXlite \
+ CCM IP860 NETPHONE RPXlite_DW \
+ cogent_mpc8xx IVML24 NETTA RRvision \
+ ELPT860 IVML24_128 NETTA2 SM850 \
+ ESTEEM192E IVML24_256 NETTA_ISDN SPD823TS \
+ ETX094 IVMS8 NETVIA svm_sc8xx \
+ FADS823 IVMS8_128 NETVIA_V2 SXNI855T \
+ FADS850SAR IVMS8_256 NX823 TOP860 \
+ FADS860T KUP4K pcu_e TQM823L \
+ FLAGADM KUP4X QS823 TQM823L_LCD \
+ FPS850L LANTEC QS850 TQM850L \
+ GEN860T lwmon QS860T TQM855L \
+ GEN860T_SC MBX quantum TQM860L \
+ uc100 \
+ v37 \
"
#########################################################################
#########################################################################
LIST_4xx=" \
- ADCIOP AR405 ASH405 BUBINGA405EP \
- CANBT CPCI405 CPCI4052 CPCI405AB \
- CPCI440 CPCIISER4 CRAYL1 DASA_SIM \
- DU405 EBONY ERIC MIP405 \
- ML2 OCRTC ORSG PCI405 \
- PIP405 PMC405 W7OLMC W7OLMG \
- WALNUT405 \
+ ADCIOP AR405 ASH405 bubinga \
+ CANBT CPCI2DP CPCI405 CPCI4052 \
+ CPCI405AB CPCI440 CPCIISER4 CRAYL1 \
+ csb272 csb472 DASA_SIM DP405 \
+ DU405 ebony ERIC EXBITGEN \
+ G2000 HUB405 JSE KAREF \
+ METROBOX MIP405 MIP405T ML2 \
+ ml300 ocotea OCRTC ORSG \
+ PCI405 PIP405 PLU405 PMC405 \
+ PPChameleonEVB sbc405 VOH405 W7OLMC \
+ W7OLMG walnut WUH405 XPEDITE1K \
+ yellowstone yosemite \
+"
+
+#########################################################################
+## MPC8220 Systems
+#########################################################################
+
+LIST_8220=" \
+ Alaska8220 Yukon8220 \
"
#########################################################################
#########################################################################
LIST_824x=" \
- BMW CPC45 CU824 MOUSSE \
- MUSENKI OXC PN62 Sandpoint8240 \
- Sandpoint8245 utx8245 \
+ A3000 barco BMW CPC45 \
+ CU824 debris eXalion HIDDEN_DRAGON \
+ MOUSSE MUSENKI MVBLUE OXC \
+ PN62 Sandpoint8240 Sandpoint8245 sbc8240 \
+ SL8245 utx8245 \
"
#########################################################################
#########################################################################
LIST_8260=" \
- atc cogent_mpc8260 CPU86 ep8260 \
- gw8260 hymod IPHASE4539 MPC8260ADS \
- MPC8266ADS PM826 ppmc8260 RPXsuper \
- rsdproto sacsng sbc8260 SCM \
- TQM8260 \
+ atc cogent_mpc8260 CPU86 CPU87 \
+ ep8248 ep8260 gw8260 hymod \
+ IPHASE4539 ISPAN MPC8260ADS MPC8266ADS \
+ MPC8272ADS PM826 PM828 ppmc8260 \
+ Rattler8248 RPXsuper rsdproto sacsng \
+ sbc8260 SCM TQM8260_AC TQM8260_AD \
+ TQM8260_AE ZPC1900 \
+"
+
+#########################################################################
+## MPC83xx Systems (includes 8349, etc.)
+#########################################################################
+
+LIST_83xx=" \
+ MPC8349ADS \
+"
+
+
+#########################################################################
+## MPC85xx Systems (includes 8540, 8560 etc.)
+#########################################################################
+
+LIST_85xx=" \
+ MPC8540ADS MPC8540EVAL MPC8541CDS MPC8548CDS \
+ MPC8555CDS MPC8560ADS PM854 PM856 \
+ sbc8540 sbc8560 stxgp3 TQM8540 \
+ TQM8560 \
"
#########################################################################
#########################################################################
LIST_74xx=" \
- EVB64260 PCIPPC2 PCIPPC6 ZUMA \
+ DB64360 DB64460 EVB64260 P3G4 \
+ PCIPPC2 PCIPPC6 ZUMA \
"
LIST_7xx=" \
- BAB7xx ELPPC \
+ BAB7xx CPCI750 ELPPC \
"
-LIST_ppc="${LIST_5xx} ${LIST_8xx} \
- ${LIST_824x} ${LIST_8260} \
- ${LIST_4xx} \
+LIST_ppc="${LIST_5xx} ${LIST_5xxx} \
+ ${LIST_8xx} \
+ ${LIST_8220} ${LIST_824x} ${LIST_8260} \
+ ${LIST_83xx} \
+ ${LIST_85xx} \
+ ${LIST_4xx} \
${LIST_74xx} ${LIST_7xx}"
#########################################################################
## StrongARM Systems
#########################################################################
-LIST_SA="dnp1110 lart shannon"
+LIST_SA="assabet dnp1110 gcplus lart shannon"
#########################################################################
## ARM7 Systems
#########################################################################
-LIST_ARM7="ep7312 impa7"
+LIST_ARM7=" \
+ armadillo B2 ep7312 evb4510 \
+ impa7 integratorap_CM720T integratorap_CM7TDMI \
+ modnet50 \
+"
#########################################################################
## ARM9 Systems
#########################################################################
-LIST_ARM9="at91rm9200dk smdk2400 smdk2410 trab VCMA9"
+LIST_ARM9=" \
+ at91rm9200dk cmc_pu2 csb637 \
+ integratorap_CM920T integratorap_CM920T_ETM \
+ integratorap_CM922T_XA10 integratorap_CM926EJ_S \
+ integratorap_CM940T integratorap_CM946E_S \
+ integratorap_CM966E_S integratorcp_CM920T \
+ integratorcp_CM920T_ETM integratorcp_CM922T_XA10 \
+ integratorcp_CM926EJ_S integratorcp_CM940T \
+ integratorcp_CM946E_S integratorcp_CM966E_S \
+ kb9202 lpd7a400 mp2usb mx1ads \
+ mx1fs2 omap1510inn omap1610h2 omap1610inn \
+ omap730p2 scb9328 smdk2400 smdk2410 \
+ trab VCMA9 versatile voiceblue \
+"
+
+#########################################################################
+## ARM10 Systems
+#########################################################################
+LIST_ARM10=" \
+ integratorcp_CM10220E integratorcp_CM1026EJ_S \
+"
+
+#########################################################################
+## ARM11 Systems
+#########################################################################
+LIST_ARM11=" \
+ integratorcp_CM1136JF_S omap2420h4 \
+"
#########################################################################
## Xscale Systems
#########################################################################
-LIST_xscale="cradle csb226 innokom lubbock wepep250"
+LIST_pxa=" \
+ adsvix cerf250 cradle csb226 \
+ innokom lubbock pxa255_idp wepep250 \
+ xaeniax xm250 xsengine \
+"
+
+LIST_ixp="ixdp425"
-LIST_arm="${LIST_SA} ${LIST_ARM7} ${LIST_ARM9} ${LIST_xscale}"
+LIST_arm=" \
+ ${LIST_SA} \
+ ${LIST_ARM7} ${LIST_ARM9} ${LIST_ARM10} ${LIST_ARM11} \
+ ${LIST_pxa} ${LIST_ixp} \
+"
#########################################################################
-## MIPS 4Kc Systems
+## MIPS Systems (default = big endian)
#########################################################################
LIST_mips4kc="incaip"
LIST_mips5kc="purple"
-LIST_mips="${LIST_mips4kc} ${LIST_mips5kc}"
+LIST_au1xx0="dbau1000 dbau1100 dbau1500 dbau1550 dbau1550_el"
+
+LIST_mips="${LIST_mips4kc} ${LIST_mips5kc} ${LIST_au1xx0}"
+
+#########################################################################
+## MIPS Systems (little endian)
+#########################################################################
+
+LIST_mips4kc_el=""
+
+LIST_mips5kc_el=""
+
+LIST_au1xx0_el="dbau1550_el"
+
+LIST_mips_el="${LIST_mips4kc_el} ${LIST_mips5kc_el} ${LIST_au1xx0_el}"
+
+#########################################################################
+## i386 Systems
+#########################################################################
+
+LIST_I486="sc520_cdp sc520_spunk sc520_spunk_rel"
+LIST_x86="${LIST_I486}"
+
+#########################################################################
+## NIOS Systems
+#########################################################################
+
+LIST_nios=" \
+ ADNPESC1 ADNPESC1_base_32 \
+ ADNPESC1_DNPEVA2_base_32 \
+ DK1C20 DK1C20_standard_32 \
+ DK1S10 DK1S10_standard_32 DK1S10_mtx_ldk_20 \
+"
+
+#########################################################################
+## Nios-II Systems
+#########################################################################
+
+LIST_nios2="PCI5441 PK1C20"
+
+#########################################################################
+## MicroBlaze Systems
+#########################################################################
+
+LIST_microblaze="suzaku"
+
+#-----------------------------------------------------------------------
#----- for now, just run PPC by default -----
[ $# = 0 ] && set $LIST_ppc
${MAKE} distclean >/dev/null
${MAKE} ${target}_config
- ${MAKE} all 2>&1 >LOG/$target.MAKELOG | tee LOG/$target.ERR
+ ${MAKE} ${JOBS} all 2>&1 >LOG/$target.MAKELOG | tee LOG/$target.ERR
${CROSS_COMPILE:-ppc_8xx-}size u-boot | tee -a LOG/$target.MAKELOG
}
for arg in $@
do
case "$arg" in
- 5xx|8xx|824x|8260|4xx|7xx|74xx|SA|ARM7|ARM9|ppc|arm|xscale|mips)
+ ppc|5xx|5xxx|8xx|8220|824x|8260|83xx|85xx|4xx|7xx|74xx| \
+ arm|SA|ARM7|ARM9|ARM10|ARM11|pxa|ixp| \
+ microblaze| \
+ mips|mips_el| \
+ nios|nios2| \
+ x86|I486)
for target in `eval echo '$LIST_'${arg}`
do
build_target ${target}