wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
wdenk | c0aa5c5 | 2003-12-06 19:49:23 +0000 | [diff] [blame] | 3 | : ${JOBS:=} |
| 4 | |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 5 | if [ "${CROSS_COMPILE}" ] ; then |
| 6 | MAKE="make CROSS_COMPILE=${CROSS_COMPILE}" |
| 7 | else |
| 8 | MAKE=make |
| 9 | fi |
| 10 | |
Marian Balakowicz | d62379d | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 11 | if [ "${MAKEALL_LOGDIR}" ] ; then |
| 12 | LOG_DIR=${MAKEALL_LOGDIR} |
| 13 | else |
| 14 | LOG_DIR="LOG" |
| 15 | fi |
Stefan Roese | 42fbddd | 2006-09-07 11:51:23 +0200 | [diff] [blame] | 16 | |
Marian Balakowicz | d62379d | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 17 | if [ ! "${BUILD_DIR}" ] ; then |
| 18 | BUILD_DIR="." |
| 19 | fi |
| 20 | |
Marian Balakowicz | 7f783cb | 2006-09-07 12:05:53 +0200 | [diff] [blame] | 21 | [ -d ${LOG_DIR} ] || mkdir ${LOG_DIR} || exit 1 |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 22 | |
| 23 | LIST="" |
| 24 | |
| 25 | ######################################################################### |
wdenk | 359733b | 2003-03-31 17:27:09 +0000 | [diff] [blame] | 26 | ## MPC5xx Systems |
| 27 | ######################################################################### |
| 28 | |
| 29 | LIST_5xx=" \ |
| 30 | cmi_mpc5xx \ |
| 31 | " |
| 32 | |
| 33 | ######################################################################### |
wdenk | 21136db | 2003-07-16 21:53:01 +0000 | [diff] [blame] | 34 | ## MPC5xxx Systems |
| 35 | ######################################################################### |
| 36 | |
| 37 | LIST_5xxx=" \ |
Wolfgang Denk | 9018bc9 | 2006-08-18 23:27:33 +0200 | [diff] [blame] | 38 | BC3450 cpci5200 EVAL5200 fo300 \ |
| 39 | icecube_5100 icecube_5200 lite5200b mcc200 \ |
Wolfgang Denk | 0cf80b8 | 2007-02-16 23:44:55 +0100 | [diff] [blame] | 40 | mecp5200 motionpro o2dnt pf5200 \ |
| 41 | PM520 TB5200 Total5100 Total5200 \ |
| 42 | Total5200_Rev2 TQM5200 TQM5200_B TQM5200S \ |
| 43 | v38b \ |
wdenk | 21136db | 2003-07-16 21:53:01 +0000 | [diff] [blame] | 44 | " |
| 45 | |
| 46 | ######################################################################### |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 47 | ## MPC8xx Systems |
| 48 | ######################################################################### |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 49 | LIST_8xx=" \ |
wdenk | 7d1eb82 | 2004-09-29 11:02:56 +0000 | [diff] [blame] | 50 | Adder87x GENIETV MBX860T R360MPI \ |
| 51 | AdderII GTH MHPC RBC823 \ |
| 52 | ADS860 hermes MPC86xADS rmu \ |
| 53 | AMX860 IAD210 MPC885ADS RPXClassic \ |
| 54 | c2mon ICU862_100MHz MVS1 RPXlite \ |
| 55 | CCM IP860 NETPHONE RPXlite_DW \ |
| 56 | cogent_mpc8xx IVML24 NETTA RRvision \ |
| 57 | ELPT860 IVML24_128 NETTA2 SM850 \ |
Markus Klotzbuecher | 8f82485 | 2006-07-12 08:48:24 +0200 | [diff] [blame] | 58 | EP88x IVML24_256 NETTA_ISDN spc1920 \ |
| 59 | ESTEEM192E IVMS8 NETVIA SPD823TS \ |
| 60 | ETX094 IVMS8_128 NETVIA_V2 svm_sc8xx \ |
| 61 | FADS823 IVMS8_256 NX823 SXNI855T \ |
| 62 | FADS850SAR KUP4K pcu_e TOP860 \ |
| 63 | FADS860T KUP4X QS823 TQM823L \ |
| 64 | FLAGADM LANTEC QS850 TQM823L_LCD \ |
| 65 | FPS850L lwmon QS860T TQM850L \ |
| 66 | GEN860T MBX quantum TQM855L \ |
| 67 | GEN860T_SC TQM860L \ |
Markus Klotzbuecher | 13af9f0 | 2006-07-12 15:26:01 +0200 | [diff] [blame] | 68 | TQM885D \ |
Markus Klotzbuecher | 8f82485 | 2006-07-12 08:48:24 +0200 | [diff] [blame] | 69 | uc100 \ |
wdenk | 11392db | 2004-12-19 09:58:11 +0000 | [diff] [blame] | 70 | v37 \ |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 71 | " |
| 72 | |
| 73 | ######################################################################### |
| 74 | ## PPC4xx Systems |
| 75 | ######################################################################### |
| 76 | |
| 77 | LIST_4xx=" \ |
Stefan Roese | fdf21b1 | 2007-03-21 13:39:57 +0100 | [diff] [blame] | 78 | acadia ADCIOP alpr AP1000 \ |
| 79 | AR405 ASH405 bamboo bubinga \ |
| 80 | CANBT CMS700 CPCI2DP CPCI405 \ |
| 81 | CPCI4052 CPCI405AB CPCI405DT CPCI440 \ |
| 82 | CPCIISER4 CRAYL1 csb272 csb472 \ |
| 83 | DASA_SIM DP405 DU405 ebony \ |
| 84 | ERIC EXBITGEN G2000 HH405 \ |
| 85 | HUB405 JSE KAREF katmai \ |
| 86 | luan METROBOX MIP405 MIP405T \ |
| 87 | ML2 ml300 ocotea OCRTC \ |
| 88 | ORSG p3p440 PCI405 pcs440ep \ |
| 89 | PIP405 PLU405 PMC405 PPChameleonEVB \ |
| 90 | sbc405 sc3 sequoia sequoia_nand \ |
| 91 | taishan VOH405 VOM405 W7OLMC \ |
| 92 | W7OLMG walnut WUH405 XPEDITE1K \ |
| 93 | yellowstone yosemite yucca \ |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 94 | " |
| 95 | |
| 96 | ######################################################################### |
wdenk | 337f565 | 2004-10-28 00:09:35 +0000 | [diff] [blame] | 97 | ## MPC8220 Systems |
| 98 | ######################################################################### |
| 99 | |
| 100 | LIST_8220=" \ |
| 101 | Alaska8220 Yukon8220 \ |
| 102 | " |
| 103 | |
| 104 | ######################################################################### |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 105 | ## MPC824x Systems |
| 106 | ######################################################################### |
| 107 | |
| 108 | LIST_824x=" \ |
Wolfgang Denk | a48c725 | 2005-09-25 18:59:36 +0200 | [diff] [blame] | 109 | A3000 barco BMW CPC45 \ |
| 110 | CU824 debris eXalion HIDDEN_DRAGON \ |
Wolfgang Denk | 8233512 | 2006-07-21 15:21:40 +0200 | [diff] [blame] | 111 | MOUSSE MUSENKI MVBLUE \ |
Wolfgang Denk | 11f95cb | 2006-07-21 11:29:20 +0200 | [diff] [blame] | 112 | OXC PN62 Sandpoint8240 Sandpoint8245 \ |
| 113 | sbc8240 SL8245 utx8245 \ |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 114 | " |
wdenk | dbae504 | 2003-06-21 00:17:24 +0000 | [diff] [blame] | 115 | |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 116 | ######################################################################### |
wdenk | 541a76d | 2003-05-03 15:50:43 +0000 | [diff] [blame] | 117 | ## MPC8260 Systems (includes 8250, 8255 etc.) |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 118 | ######################################################################### |
| 119 | |
| 120 | LIST_8260=" \ |
wdenk | 6d3c6d1 | 2005-04-03 22:35:21 +0000 | [diff] [blame] | 121 | atc cogent_mpc8260 CPU86 CPU87 \ |
Wolfgang Denk | 73a9275 | 2006-10-09 00:35:30 +0200 | [diff] [blame] | 122 | ep8248 ep8260 ep82xxm gw8260 \ |
| 123 | hymod IPHASE4539 ISPAN MPC8260ADS \ |
| 124 | MPC8266ADS MPC8272ADS PM826 PM828 \ |
| 125 | ppmc8260 Rattler8248 RPXsuper rsdproto \ |
| 126 | sacsng sbc8260 SCM TQM8260_AC \ |
| 127 | TQM8260_AD TQM8260_AE ZPC1900 \ |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 128 | " |
| 129 | |
| 130 | ######################################################################### |
Eran Liberty | 9095d4a | 2005-07-28 10:08:46 -0500 | [diff] [blame] | 131 | ## MPC83xx Systems (includes 8349, etc.) |
| 132 | ######################################################################### |
| 133 | |
| 134 | LIST_83xx=" \ |
Wolfgang Denk | 1805015 | 2007-03-08 22:52:51 +0100 | [diff] [blame] | 135 | MPC832XEMDS MPC8349EMDS MPC8349ITX MPC8349ITXGP \ |
| 136 | MPC8360EMDS sbc8349 TQM834x \ |
Eran Liberty | 9095d4a | 2005-07-28 10:08:46 -0500 | [diff] [blame] | 137 | " |
| 138 | |
| 139 | |
| 140 | ######################################################################### |
wdenk | 9c53f40 | 2003-10-15 23:53:47 +0000 | [diff] [blame] | 141 | ## MPC85xx Systems (includes 8540, 8560 etc.) |
| 142 | ######################################################################### |
| 143 | |
| 144 | LIST_85xx=" \ |
Lunsheng Wang | 61e6195 | 2005-07-29 10:20:29 -0500 | [diff] [blame] | 145 | MPC8540ADS MPC8540EVAL MPC8541CDS MPC8548CDS \ |
Wolfgang Denk | 64bd88f | 2005-08-05 20:03:38 +0200 | [diff] [blame] | 146 | MPC8555CDS MPC8560ADS PM854 PM856 \ |
| 147 | sbc8540 sbc8560 stxgp3 TQM8540 \ |
Stefan Roese | 0955402 | 2005-11-30 13:06:40 +0100 | [diff] [blame] | 148 | TQM8541 TQM8555 TQM8560 \ |
wdenk | 9c53f40 | 2003-10-15 23:53:47 +0000 | [diff] [blame] | 149 | " |
| 150 | |
| 151 | ######################################################################### |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 152 | ## 74xx/7xx Systems |
| 153 | ######################################################################### |
| 154 | |
| 155 | LIST_74xx=" \ |
wdenk | 5da7f2f | 2004-01-03 00:43:19 +0000 | [diff] [blame] | 156 | DB64360 DB64460 EVB64260 P3G4 \ |
Stefan Roese | 45993ea | 2006-11-29 15:42:37 +0100 | [diff] [blame] | 157 | p3m7448 PCIPPC2 PCIPPC6 ZUMA \ |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 158 | " |
| 159 | |
| 160 | LIST_7xx=" \ |
Stefan Roese | 45993ea | 2006-11-29 15:42:37 +0100 | [diff] [blame] | 161 | BAB7xx CPCI750 ELPPC p3m750 \ |
| 162 | ppmc7xx \ |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 163 | " |
| 164 | |
wdenk | a2b932d | 2005-06-27 13:30:03 +0000 | [diff] [blame] | 165 | LIST_ppc="${LIST_5xx} ${LIST_5xxx} \ |
| 166 | ${LIST_8xx} \ |
| 167 | ${LIST_8220} ${LIST_824x} ${LIST_8260} \ |
Eran Liberty | 9095d4a | 2005-07-28 10:08:46 -0500 | [diff] [blame] | 168 | ${LIST_83xx} \ |
wdenk | a2b932d | 2005-06-27 13:30:03 +0000 | [diff] [blame] | 169 | ${LIST_85xx} \ |
| 170 | ${LIST_4xx} \ |
wdenk | 359733b | 2003-03-31 17:27:09 +0000 | [diff] [blame] | 171 | ${LIST_74xx} ${LIST_7xx}" |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 172 | |
| 173 | ######################################################################### |
| 174 | ## StrongARM Systems |
| 175 | ######################################################################### |
| 176 | |
wdenk | e5cda75 | 2004-04-15 23:23:39 +0000 | [diff] [blame] | 177 | LIST_SA="assabet dnp1110 gcplus lart shannon" |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 178 | |
| 179 | ######################################################################### |
| 180 | ## ARM7 Systems |
| 181 | ######################################################################### |
| 182 | |
Wolfgang Denk | adf20a1 | 2005-09-25 01:48:28 +0200 | [diff] [blame] | 183 | LIST_ARM7=" \ |
Wolfgang Denk | 4dc1146 | 2005-09-26 01:06:33 +0200 | [diff] [blame] | 184 | armadillo B2 ep7312 evb4510 \ |
Wolfgang Denk | 7f88a5e | 2005-10-06 17:08:18 +0200 | [diff] [blame] | 185 | impa7 integratorap ap7 ap720t \ |
Gary Jennejohn | 7968bb5 | 2007-01-24 12:16:56 +0100 | [diff] [blame] | 186 | lpc2292sodimm modnet50 \ |
Wolfgang Denk | adf20a1 | 2005-09-25 01:48:28 +0200 | [diff] [blame] | 187 | " |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 188 | |
| 189 | ######################################################################### |
| 190 | ## ARM9 Systems |
| 191 | ######################################################################### |
| 192 | |
wdenk | 7eaacc5 | 2003-08-29 22:00:43 +0000 | [diff] [blame] | 193 | LIST_ARM9=" \ |
Wolfgang Denk | 7f88a5e | 2005-10-06 17:08:18 +0200 | [diff] [blame] | 194 | at91rm9200dk cmc_pu2 \ |
| 195 | ap920t ap922_XA10 ap926ejs ap946es \ |
| 196 | ap966 cp920t cp922_XA10 cp926ejs \ |
| 197 | cp946es cp966 lpd7a400 mp2usb \ |
Bartlomiej Sieka | 582f1a3 | 2006-03-05 18:57:33 +0100 | [diff] [blame] | 198 | mx1ads mx1fs2 netstar omap1510inn \ |
Wolfgang Denk | 5873ca5 | 2006-07-21 11:31:42 +0200 | [diff] [blame] | 199 | omap1610h2 omap1610inn omap730p2 sbc2410x \ |
| 200 | scb9328 smdk2400 smdk2410 trab \ |
| 201 | VCMA9 versatile versatileab versatilepb \ |
| 202 | voiceblue \ |
wdenk | 7eaacc5 | 2003-08-29 22:00:43 +0000 | [diff] [blame] | 203 | " |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 204 | |
| 205 | ######################################################################### |
Wolfgang Denk | adf20a1 | 2005-09-25 01:48:28 +0200 | [diff] [blame] | 206 | ## ARM10 Systems |
| 207 | ######################################################################### |
| 208 | LIST_ARM10=" \ |
Wolfgang Denk | 7f88a5e | 2005-10-06 17:08:18 +0200 | [diff] [blame] | 209 | integratorcp cp1026 \ |
Wolfgang Denk | adf20a1 | 2005-09-25 01:48:28 +0200 | [diff] [blame] | 210 | " |
| 211 | |
| 212 | ######################################################################### |
wdenk | f806271 | 2005-01-09 23:16:25 +0000 | [diff] [blame] | 213 | ## ARM11 Systems |
| 214 | ######################################################################### |
Wolfgang Denk | adf20a1 | 2005-09-25 01:48:28 +0200 | [diff] [blame] | 215 | LIST_ARM11=" \ |
Wolfgang Denk | 7f88a5e | 2005-10-06 17:08:18 +0200 | [diff] [blame] | 216 | cp1136 omap2420h4 \ |
Wolfgang Denk | adf20a1 | 2005-09-25 01:48:28 +0200 | [diff] [blame] | 217 | " |
wdenk | f806271 | 2005-01-09 23:16:25 +0000 | [diff] [blame] | 218 | |
| 219 | ######################################################################### |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 220 | ## Xscale Systems |
| 221 | ######################################################################### |
| 222 | |
wdenk | fa89d7c | 2004-09-28 16:44:41 +0000 | [diff] [blame] | 223 | LIST_pxa=" \ |
wdenk | 2a83161 | 2005-04-06 00:04:16 +0000 | [diff] [blame] | 224 | adsvix cerf250 cradle csb226 \ |
Heiko Schocher | 221a506 | 2006-05-02 07:51:46 +0200 | [diff] [blame] | 225 | delta innokom lubbock pleb2 \ |
| 226 | pxa255_idp wepep250 xaeniax xm250 \ |
| 227 | xsengine zylonite \ |
wdenk | fa89d7c | 2004-09-28 16:44:41 +0000 | [diff] [blame] | 228 | " |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 229 | |
Stefan Roese | 1b5f1ff | 2007-01-18 16:05:47 +0100 | [diff] [blame] | 230 | LIST_ixp="ixdp425 ixdpg425 pdnb3 scpu" |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 231 | |
wdenk | bd1575f | 2003-10-14 19:43:55 +0000 | [diff] [blame] | 232 | |
wdenk | f806271 | 2005-01-09 23:16:25 +0000 | [diff] [blame] | 233 | LIST_arm=" \ |
| 234 | ${LIST_SA} \ |
Wolfgang Denk | adf20a1 | 2005-09-25 01:48:28 +0200 | [diff] [blame] | 235 | ${LIST_ARM7} ${LIST_ARM9} ${LIST_ARM10} ${LIST_ARM11} \ |
wdenk | f806271 | 2005-01-09 23:16:25 +0000 | [diff] [blame] | 236 | ${LIST_pxa} ${LIST_ixp} \ |
| 237 | " |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 238 | |
wdenk | bb1b826 | 2003-03-27 12:09:35 +0000 | [diff] [blame] | 239 | ######################################################################### |
Wolfgang Denk | bc8c500 | 2005-08-14 00:27:00 +0200 | [diff] [blame] | 240 | ## MIPS Systems (default = big endian) |
wdenk | bb1b826 | 2003-03-27 12:09:35 +0000 | [diff] [blame] | 241 | ######################################################################### |
| 242 | |
| 243 | LIST_mips4kc="incaip" |
| 244 | |
wdenk | b02744a | 2003-04-05 00:53:31 +0000 | [diff] [blame] | 245 | LIST_mips5kc="purple" |
| 246 | |
Wolfgang Denk | 39c7642 | 2006-06-16 17:32:31 +0200 | [diff] [blame] | 247 | LIST_au1xx0="dbau1000 dbau1100 dbau1500 dbau1550 dbau1550_el gth2" |
wdenk | 9b7f384 | 2003-10-09 20:09:04 +0000 | [diff] [blame] | 248 | |
wdenk | 96c7a8c | 2005-01-09 22:28:56 +0000 | [diff] [blame] | 249 | LIST_mips="${LIST_mips4kc} ${LIST_mips5kc} ${LIST_au1xx0}" |
wdenk | bb1b826 | 2003-03-27 12:09:35 +0000 | [diff] [blame] | 250 | |
wdenk | abda5ca | 2003-05-31 18:35:21 +0000 | [diff] [blame] | 251 | ######################################################################### |
Wolfgang Denk | bc8c500 | 2005-08-14 00:27:00 +0200 | [diff] [blame] | 252 | ## MIPS Systems (little endian) |
| 253 | ######################################################################### |
| 254 | |
| 255 | LIST_mips4kc_el="" |
| 256 | |
| 257 | LIST_mips5kc_el="" |
| 258 | |
| 259 | LIST_au1xx0_el="dbau1550_el" |
| 260 | |
| 261 | LIST_mips_el="${LIST_mips4kc_el} ${LIST_mips5kc_el} ${LIST_au1xx0_el}" |
| 262 | |
| 263 | ######################################################################### |
wdenk | abda5ca | 2003-05-31 18:35:21 +0000 | [diff] [blame] | 264 | ## i386 Systems |
| 265 | ######################################################################### |
| 266 | |
| 267 | LIST_I486="sc520_cdp sc520_spunk sc520_spunk_rel" |
| 268 | |
| 269 | LIST_x86="${LIST_I486}" |
| 270 | |
wdenk | 3be717f | 2004-01-03 19:43:48 +0000 | [diff] [blame] | 271 | ######################################################################### |
| 272 | ## NIOS Systems |
| 273 | ######################################################################### |
| 274 | |
| 275 | LIST_nios=" \ |
Wolfgang Denk | b4b1c46 | 2006-06-10 19:27:47 +0200 | [diff] [blame] | 276 | ADNPESC1 ADNPESC1_base_32 \ |
wdenk | e28cf63 | 2004-03-14 15:20:55 +0000 | [diff] [blame] | 277 | ADNPESC1_DNPEVA2_base_32 \ |
Wolfgang Denk | b4b1c46 | 2006-06-10 19:27:47 +0200 | [diff] [blame] | 278 | DK1C20 DK1C20_standard_32 \ |
| 279 | DK1S10 DK1S10_standard_32 DK1S10_mtx_ldk_20 \ |
wdenk | 3be717f | 2004-01-03 19:43:48 +0000 | [diff] [blame] | 280 | " |
| 281 | |
wdenk | 20a6122 | 2004-07-10 23:48:41 +0000 | [diff] [blame] | 282 | ######################################################################### |
wdenk | ef3386f | 2004-10-10 21:27:30 +0000 | [diff] [blame] | 283 | ## Nios-II Systems |
| 284 | ######################################################################### |
| 285 | |
Wolfgang Denk | b4b1c46 | 2006-06-10 19:27:47 +0200 | [diff] [blame] | 286 | LIST_nios2=" \ |
| 287 | EP1C20 EP1S10 EP1S40 \ |
| 288 | PCI5441 PK1C20 \ |
| 289 | " |
wdenk | ef3386f | 2004-10-10 21:27:30 +0000 | [diff] [blame] | 290 | |
| 291 | ######################################################################### |
wdenk | 20a6122 | 2004-07-10 23:48:41 +0000 | [diff] [blame] | 292 | ## MicroBlaze Systems |
| 293 | ######################################################################### |
| 294 | |
Wolfgang Denk | b4b1c46 | 2006-06-10 19:27:47 +0200 | [diff] [blame] | 295 | LIST_microblaze=" \ |
| 296 | suzaku |
| 297 | " |
wdenk | 20a6122 | 2004-07-10 23:48:41 +0000 | [diff] [blame] | 298 | |
Zachary P. Landau | 1c3c096 | 2006-01-26 17:38:46 -0500 | [diff] [blame] | 299 | ######################################################################### |
| 300 | ## ColdFire Systems |
| 301 | ######################################################################### |
| 302 | |
Wolfgang Denk | b4b1c46 | 2006-06-10 19:27:47 +0200 | [diff] [blame] | 303 | LIST_coldfire=" \ |
| 304 | cobra5272 EB+MCF-EV123 EB+MCF-EV123_internal \ |
Wolfgang Denk | 8e59e1f | 2006-12-22 10:30:26 +0100 | [diff] [blame] | 305 | idmr M5271EVB M5272C3 M5282EVB \ |
Bartlomiej Sieka | 8ff81c6 | 2006-12-20 00:27:32 +0100 | [diff] [blame] | 306 | TASREG r5200 M5271EVB \ |
Heiko Schocher | ac1956e | 2006-04-20 08:42:42 +0200 | [diff] [blame] | 307 | " |
Zachary P. Landau | 1c3c096 | 2006-01-26 17:38:46 -0500 | [diff] [blame] | 308 | |
Wolfgang Denk | 994ad96 | 2006-10-24 14:42:37 +0200 | [diff] [blame] | 309 | ######################################################################### |
| 310 | ## AVR32 Systems |
| 311 | ######################################################################### |
| 312 | |
| 313 | LIST_avr32="atstk1002" |
| 314 | |
Aubrey.Li | 450c23e | 2007-03-09 13:40:56 +0800 | [diff] [blame] | 315 | ######################################################################### |
| 316 | ## Blackfin Systems |
| 317 | ######################################################################### |
| 318 | |
| 319 | LIST_blackfin=" \ |
Aubrey Li | 51185db | 2007-03-20 18:16:24 +0800 | [diff] [blame] | 320 | bf533-ezkit bf533-stamp bf537-stamp bf561-ezkit \ |
Aubrey.Li | 450c23e | 2007-03-09 13:40:56 +0800 | [diff] [blame] | 321 | " |
| 322 | |
wdenk | abda5ca | 2003-05-31 18:35:21 +0000 | [diff] [blame] | 323 | #----------------------------------------------------------------------- |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 324 | |
| 325 | #----- for now, just run PPC by default ----- |
| 326 | [ $# = 0 ] && set $LIST_ppc |
| 327 | |
| 328 | #----------------------------------------------------------------------- |
| 329 | |
| 330 | build_target() { |
| 331 | target=$1 |
| 332 | |
| 333 | ${MAKE} distclean >/dev/null |
| 334 | ${MAKE} ${target}_config |
Marian Balakowicz | d62379d | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 335 | |
| 336 | ${MAKE} ${JOBS} all 2>&1 >${LOG_DIR}/$target.MAKELOG \ |
| 337 | | tee ${LOG_DIR}/$target.ERR |
| 338 | |
| 339 | ${CROSS_COMPILE:-ppc_8xx-}size ${BUILD_DIR}/u-boot \ |
| 340 | | tee -a ${LOG_DIR}/$target.MAKELOG |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 341 | } |
| 342 | |
| 343 | #----------------------------------------------------------------------- |
| 344 | |
| 345 | |
| 346 | for arg in $@ |
| 347 | do |
| 348 | case "$arg" in |
Wolfgang Denk | b284679 | 2007-03-22 00:13:12 +0100 | [diff] [blame^] | 349 | arm|SA|ARM7|ARM9|ARM10|ARM11|ixp|pxa| \ |
| 350 | avr32| \ |
| 351 | blackfin| \ |
| 352 | coldfire| \ |
wdenk | 20a6122 | 2004-07-10 23:48:41 +0000 | [diff] [blame] | 353 | microblaze| \ |
Wolfgang Denk | bc8c500 | 2005-08-14 00:27:00 +0200 | [diff] [blame] | 354 | mips|mips_el| \ |
wdenk | ef3386f | 2004-10-10 21:27:30 +0000 | [diff] [blame] | 355 | nios|nios2| \ |
Wolfgang Denk | b284679 | 2007-03-22 00:13:12 +0100 | [diff] [blame^] | 356 | ppc|5xx|5xxx|8xx|8220|824x|8260|83xx|85xx|4xx|7xx|74xx| \ |
| 357 | x86|I486) |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 358 | for target in `eval echo '$LIST_'${arg}` |
| 359 | do |
| 360 | build_target ${target} |
| 361 | done |
| 362 | ;; |
| 363 | *) build_target ${arg} |
| 364 | ;; |
| 365 | esac |
| 366 | done |