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