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