2002-11-02 23:17:16 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2003-12-06 19:49:23 +00:00
|
|
|
: ${JOBS:=}
|
|
|
|
|
2002-11-02 23:17:16 +00:00
|
|
|
if [ "${CROSS_COMPILE}" ] ; then
|
|
|
|
MAKE="make CROSS_COMPILE=${CROSS_COMPILE}"
|
|
|
|
else
|
|
|
|
MAKE=make
|
|
|
|
fi
|
|
|
|
|
|
|
|
[ -d LOG ] || mkdir LOG || exit 1
|
|
|
|
|
|
|
|
LIST=""
|
|
|
|
|
2003-03-31 17:27:09 +00:00
|
|
|
#########################################################################
|
|
|
|
## MPC5xx Systems
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
LIST_5xx=" \
|
|
|
|
cmi_mpc5xx \
|
|
|
|
"
|
|
|
|
|
2003-07-16 21:53:01 +00:00
|
|
|
#########################################################################
|
|
|
|
## MPC5xxx Systems
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
LIST_5xxx=" \
|
2005-08-22 15:51:53 +00:00
|
|
|
cpci5200 icecube_5100 icecube_5200 EVAL5200 \
|
|
|
|
pf5200 PM520 Total5100 Total5200 \
|
|
|
|
Total5200_Rev2 TQM5200_auto o2dnt \
|
2003-07-16 21:53:01 +00:00
|
|
|
"
|
|
|
|
|
2002-11-02 23:17:16 +00:00
|
|
|
#########################################################################
|
|
|
|
## MPC8xx Systems
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
LIST_8xx=" \
|
2004-09-29 11:02:56 +00:00
|
|
|
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 \
|
2004-12-19 09:58:11 +00:00
|
|
|
uc100 \
|
|
|
|
v37 \
|
2002-11-02 23:17:16 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
## PPC4xx Systems
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
LIST_4xx=" \
|
2005-08-15 14:03:56 +00:00
|
|
|
ADCIOP AR405 ASH405 bubinga \
|
2005-09-22 07:16:57 +00:00
|
|
|
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 \
|
2002-11-02 23:17:16 +00:00
|
|
|
"
|
|
|
|
|
2004-10-28 00:09:35 +00:00
|
|
|
#########################################################################
|
|
|
|
## MPC8220 Systems
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
LIST_8220=" \
|
|
|
|
Alaska8220 Yukon8220 \
|
|
|
|
"
|
|
|
|
|
2002-11-02 23:17:16 +00:00
|
|
|
#########################################################################
|
|
|
|
## MPC824x Systems
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
LIST_824x=" \
|
2004-02-23 20:48:38 +00:00
|
|
|
A3000 BMW CPC45 CU824 \
|
2005-04-03 15:51:42 +00:00
|
|
|
debris eXalion HIDDEN_DRAGON MOUSSE \
|
|
|
|
MUSENKI MVBLUE OXC PN62 \
|
|
|
|
Sandpoint8240 Sandpoint8245 SL8245 utx8245 \
|
2005-08-15 14:03:56 +00:00
|
|
|
sbc8240 \
|
2002-11-02 23:17:16 +00:00
|
|
|
"
|
2003-06-21 00:17:24 +00:00
|
|
|
|
2002-11-02 23:17:16 +00:00
|
|
|
#########################################################################
|
2003-05-03 15:50:43 +00:00
|
|
|
## MPC8260 Systems (includes 8250, 8255 etc.)
|
2002-11-02 23:17:16 +00:00
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
LIST_8260=" \
|
2005-04-03 22:35:21 +00:00
|
|
|
atc cogent_mpc8260 CPU86 CPU87 \
|
2005-08-05 23:42:58 +00:00
|
|
|
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 \
|
2002-11-02 23:17:16 +00:00
|
|
|
"
|
|
|
|
|
2005-07-28 15:08:46 +00:00
|
|
|
#########################################################################
|
|
|
|
## MPC83xx Systems (includes 8349, etc.)
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
LIST_83xx=" \
|
|
|
|
MPC8349ADS \
|
|
|
|
"
|
|
|
|
|
|
|
|
|
2003-10-15 23:53:47 +00:00
|
|
|
#########################################################################
|
|
|
|
## MPC85xx Systems (includes 8540, 8560 etc.)
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
LIST_85xx=" \
|
2005-07-29 15:20:29 +00:00
|
|
|
MPC8540ADS MPC8540EVAL MPC8541CDS MPC8548CDS \
|
2005-08-05 18:03:38 +00:00
|
|
|
MPC8555CDS MPC8560ADS PM854 PM856 \
|
|
|
|
sbc8540 sbc8560 stxgp3 TQM8540 \
|
2005-08-31 10:55:50 +00:00
|
|
|
TQM8560 \
|
2003-10-15 23:53:47 +00:00
|
|
|
"
|
|
|
|
|
2002-11-02 23:17:16 +00:00
|
|
|
#########################################################################
|
|
|
|
## 74xx/7xx Systems
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
LIST_74xx=" \
|
2004-01-03 00:43:19 +00:00
|
|
|
DB64360 DB64460 EVB64260 P3G4 \
|
|
|
|
PCIPPC2 PCIPPC6 ZUMA \
|
2002-11-02 23:17:16 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
LIST_7xx=" \
|
2004-12-16 18:44:40 +00:00
|
|
|
BAB7xx CPCI750 ELPPC \
|
2002-11-02 23:17:16 +00:00
|
|
|
"
|
|
|
|
|
2005-06-27 13:30:03 +00:00
|
|
|
LIST_ppc="${LIST_5xx} ${LIST_5xxx} \
|
|
|
|
${LIST_8xx} \
|
|
|
|
${LIST_8220} ${LIST_824x} ${LIST_8260} \
|
2005-07-28 15:08:46 +00:00
|
|
|
${LIST_83xx} \
|
2005-06-27 13:30:03 +00:00
|
|
|
${LIST_85xx} \
|
|
|
|
${LIST_4xx} \
|
2003-03-31 17:27:09 +00:00
|
|
|
${LIST_74xx} ${LIST_7xx}"
|
2002-11-02 23:17:16 +00:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
## StrongARM Systems
|
|
|
|
#########################################################################
|
|
|
|
|
2004-04-15 23:23:39 +00:00
|
|
|
LIST_SA="assabet dnp1110 gcplus lart shannon"
|
2002-11-02 23:17:16 +00:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
## ARM7 Systems
|
|
|
|
#########################################################################
|
|
|
|
|
2004-07-01 16:30:44 +00:00
|
|
|
LIST_ARM7="B2 ep7312 evb4510 impa7 modnet50"
|
2002-11-02 23:17:16 +00:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
## ARM9 Systems
|
|
|
|
#########################################################################
|
|
|
|
|
2003-08-29 22:00:43 +00:00
|
|
|
LIST_ARM9=" \
|
2005-08-15 14:03:56 +00:00
|
|
|
at91rm9200dk cmc_pu2 integratorcp integratorap \
|
2004-10-10 20:23:57 +00:00
|
|
|
lpd7a400 mx1ads mx1fs2 omap1510inn \
|
|
|
|
omap1610h2 omap1610inn omap730p2 scb9328 \
|
|
|
|
smdk2400 smdk2410 trab VCMA9 \
|
2005-04-05 23:32:21 +00:00
|
|
|
versatile voiceblue \
|
2003-08-29 22:00:43 +00:00
|
|
|
"
|
2002-11-02 23:17:16 +00:00
|
|
|
|
2005-01-09 23:16:25 +00:00
|
|
|
#########################################################################
|
|
|
|
## ARM11 Systems
|
|
|
|
#########################################################################
|
|
|
|
LIST_ARM11="omap2420h4"
|
|
|
|
|
2002-11-02 23:17:16 +00:00
|
|
|
#########################################################################
|
|
|
|
## Xscale Systems
|
|
|
|
#########################################################################
|
|
|
|
|
2004-09-28 16:44:41 +00:00
|
|
|
LIST_pxa=" \
|
2005-04-06 00:04:16 +00:00
|
|
|
adsvix cerf250 cradle csb226 \
|
|
|
|
innokom lubbock wepep250 xaeniax \
|
|
|
|
xm250 xsengine \
|
2004-09-28 16:44:41 +00:00
|
|
|
"
|
2002-11-02 23:17:16 +00:00
|
|
|
|
2003-10-14 19:43:55 +00:00
|
|
|
LIST_ixp="ixdp425"
|
2002-11-02 23:17:16 +00:00
|
|
|
|
2003-10-14 19:43:55 +00:00
|
|
|
|
2005-01-09 23:16:25 +00:00
|
|
|
LIST_arm=" \
|
|
|
|
${LIST_SA} \
|
|
|
|
${LIST_ARM7} ${LIST_ARM9} ${LIST_ARM11} \
|
|
|
|
${LIST_pxa} ${LIST_ixp} \
|
|
|
|
"
|
2002-11-02 23:17:16 +00:00
|
|
|
|
2003-03-27 12:09:35 +00:00
|
|
|
#########################################################################
|
2005-08-13 22:27:00 +00:00
|
|
|
## MIPS Systems (default = big endian)
|
2003-03-27 12:09:35 +00:00
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
LIST_mips4kc="incaip"
|
|
|
|
|
2003-04-05 00:53:31 +00:00
|
|
|
LIST_mips5kc="purple"
|
|
|
|
|
2005-01-09 22:28:56 +00:00
|
|
|
LIST_au1xx0="dbau1000 dbau1100 dbau1500 dbau1550 dbau1550_el"
|
2003-10-09 20:09:04 +00:00
|
|
|
|
2005-01-09 22:28:56 +00:00
|
|
|
LIST_mips="${LIST_mips4kc} ${LIST_mips5kc} ${LIST_au1xx0}"
|
2003-03-27 12:09:35 +00:00
|
|
|
|
2005-08-13 22:27:00 +00:00
|
|
|
#########################################################################
|
|
|
|
## 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}"
|
|
|
|
|
2003-05-31 18:35:21 +00:00
|
|
|
#########################################################################
|
|
|
|
## i386 Systems
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
LIST_I486="sc520_cdp sc520_spunk sc520_spunk_rel"
|
|
|
|
|
|
|
|
LIST_x86="${LIST_I486}"
|
|
|
|
|
2004-01-03 19:43:48 +00:00
|
|
|
#########################################################################
|
|
|
|
## NIOS Systems
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
LIST_nios=" \
|
2004-03-14 15:20:55 +00:00
|
|
|
ADNPESC1 ADNPESC1_base_32 \
|
|
|
|
ADNPESC1_DNPEVA2_base_32 \
|
2004-01-03 19:43:48 +00:00
|
|
|
DK1C20 DK1C20_standard_32 \
|
2004-02-09 23:12:24 +00:00
|
|
|
DK1S10 DK1S10_standard_32 DK1S10_mtx_ldk_20 \
|
2004-01-03 19:43:48 +00:00
|
|
|
"
|
|
|
|
|
2004-10-10 21:27:30 +00:00
|
|
|
#########################################################################
|
|
|
|
## Nios-II Systems
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
LIST_nios2="PCI5441 PK1C20"
|
|
|
|
|
2004-07-10 23:48:41 +00:00
|
|
|
#########################################################################
|
|
|
|
## MicroBlaze Systems
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
LIST_microblaze="suzaku"
|
|
|
|
|
2003-05-31 18:35:21 +00:00
|
|
|
#-----------------------------------------------------------------------
|
2002-11-02 23:17:16 +00:00
|
|
|
|
|
|
|
#----- for now, just run PPC by default -----
|
|
|
|
[ $# = 0 ] && set $LIST_ppc
|
|
|
|
|
|
|
|
#-----------------------------------------------------------------------
|
|
|
|
|
|
|
|
build_target() {
|
|
|
|
target=$1
|
|
|
|
|
|
|
|
${MAKE} distclean >/dev/null
|
|
|
|
${MAKE} ${target}_config
|
2003-12-06 19:49:23 +00:00
|
|
|
${MAKE} ${JOBS} all 2>&1 >LOG/$target.MAKELOG | tee LOG/$target.ERR
|
2002-11-02 23:17:16 +00:00
|
|
|
${CROSS_COMPILE:-ppc_8xx-}size u-boot | tee -a LOG/$target.MAKELOG
|
|
|
|
}
|
|
|
|
|
|
|
|
#-----------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
for arg in $@
|
|
|
|
do
|
|
|
|
case "$arg" in
|
2005-07-28 15:08:46 +00:00
|
|
|
ppc|5xx|5xxx|8xx|8220|824x|8260|83xx|85xx|4xx|7xx|74xx| \
|
2005-01-09 23:16:25 +00:00
|
|
|
arm|SA|ARM7|ARM9|ARM11|pxa|ixp| \
|
2004-07-10 23:48:41 +00:00
|
|
|
microblaze| \
|
2005-08-13 22:27:00 +00:00
|
|
|
mips|mips_el| \
|
2004-10-10 21:27:30 +00:00
|
|
|
nios|nios2| \
|
2003-10-14 19:43:55 +00:00
|
|
|
x86|I486)
|
2002-11-02 23:17:16 +00:00
|
|
|
for target in `eval echo '$LIST_'${arg}`
|
|
|
|
do
|
|
|
|
build_target ${target}
|
|
|
|
done
|
|
|
|
;;
|
|
|
|
*) build_target ${arg}
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
done
|