Peter Tyser | a5a27b9 | 2009-12-06 23:58:28 -0600 | [diff] [blame] | 1 | #!/bin/bash |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 2 | |
Peter Tyser | 23240d2 | 2009-09-21 12:04:32 -0500 | [diff] [blame] | 3 | # Print statistics when we exit |
4 | trap exit 1 2 3 15 | ||||
5 | trap print_stats 0 | ||||
6 | |||||
Wolfgang Denk | de5d660 | 2008-12-09 00:39:08 +0100 | [diff] [blame] | 7 | # Determine number of CPU cores if no default was set |
8 | : ${BUILD_NCPUS:="`getconf _NPROCESSORS_ONLN`"} | ||||
9 | |||||
10 | if [ "$BUILD_NCPUS" -gt 1 ] | ||||
11 | then | ||||
Peter Tyser | 8a07f9a | 2009-09-21 12:04:33 -0500 | [diff] [blame] | 12 | JOBS="-j $((BUILD_NCPUS + 1))" |
Wolfgang Denk | de5d660 | 2008-12-09 00:39:08 +0100 | [diff] [blame] | 13 | else |
14 | JOBS="" | ||||
15 | fi | ||||
16 | |||||
wdenk | c0aa5c5 | 2003-12-06 19:49:23 +0000 | [diff] [blame] | 17 | |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 18 | if [ "${CROSS_COMPILE}" ] ; then |
19 | MAKE="make CROSS_COMPILE=${CROSS_COMPILE}" | ||||
20 | else | ||||
21 | MAKE=make | ||||
22 | fi | ||||
23 | |||||
Marian Balakowicz | d62379d | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 24 | if [ "${MAKEALL_LOGDIR}" ] ; then |
25 | LOG_DIR=${MAKEALL_LOGDIR} | ||||
26 | else | ||||
27 | LOG_DIR="LOG" | ||||
28 | fi | ||||
Stefan Roese | 42fbddd | 2006-09-07 11:51:23 +0200 | [diff] [blame] | 29 | |
Marian Balakowicz | d62379d | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 30 | if [ ! "${BUILD_DIR}" ] ; then |
31 | BUILD_DIR="." | ||||
32 | fi | ||||
33 | |||||
Marian Balakowicz | 7f783cb | 2006-09-07 12:05:53 +0200 | [diff] [blame] | 34 | [ -d ${LOG_DIR} ] || mkdir ${LOG_DIR} || exit 1 |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 35 | |
36 | LIST="" | ||||
37 | |||||
Peter Tyser | 23240d2 | 2009-09-21 12:04:32 -0500 | [diff] [blame] | 38 | # Keep track of the number of builds and errors |
39 | ERR_CNT=0 | ||||
40 | ERR_LIST="" | ||||
41 | TOTAL_CNT=0 | ||||
Peter Tyser | a5a27b9 | 2009-12-06 23:58:28 -0600 | [diff] [blame] | 42 | RC=0 |
Peter Tyser | 23240d2 | 2009-09-21 12:04:32 -0500 | [diff] [blame] | 43 | |
Mike Frysinger | b374bdb | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 44 | # Helper funcs for parsing boards.cfg |
45 | boards_by_field() | ||||
46 | { | ||||
47 | awk \ | ||||
48 | -v field="$1" \ | ||||
49 | -v select="$2" \ | ||||
50 | '($1 !~ /^#/ && $field == select) { print $1 }' \ | ||||
51 | boards.cfg | ||||
52 | } | ||||
53 | boards_by_arch() { boards_by_field 2 "$@" ; } | ||||
54 | boards_by_cpu() { boards_by_field 3 "$@" ; } | ||||
55 | |||||
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 56 | ######################################################################### |
wdenk | 359733b | 2003-03-31 17:27:09 +0000 | [diff] [blame] | 57 | ## MPC5xx Systems |
58 | ######################################################################### | ||||
59 | |||||
Mike Frysinger | b374bdb | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 60 | LIST_5xx="$(boards_by_cpu mpc5xx)" |
wdenk | 359733b | 2003-03-31 17:27:09 +0000 | [diff] [blame] | 61 | |
62 | ######################################################################### | ||||
wdenk | 21136db | 2003-07-16 21:53:01 +0000 | [diff] [blame] | 63 | ## MPC5xxx Systems |
64 | ######################################################################### | ||||
65 | |||||
Mike Frysinger | b374bdb | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 66 | LIST_5xxx="$(boards_by_cpu mpc5xxx) |
Grzegorz Bernacki | afc9d6d | 2009-03-17 10:06:40 +0100 | [diff] [blame] | 67 | digsy_mtc \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 68 | EVAL5200 \ |
69 | fo300 \ | ||||
Eric Millbrandt | 9fc91f0 | 2009-08-13 10:14:21 -0500 | [diff] [blame] | 70 | galaxy5200 \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 71 | icecube_5200 \ |
72 | lite5200b \ | ||||
73 | mcc200 \ | ||||
Andre Schwarz | 2a29329 | 2008-07-09 18:30:44 +0200 | [diff] [blame] | 74 | MVBC_P \ |
Andre Schwarz | 3f4bd65 | 2010-04-01 21:26:55 +0200 | [diff] [blame] | 75 | MVSMR \ |
Jon Smirl | bc03df9 | 2009-06-14 18:21:28 -0400 | [diff] [blame] | 76 | pcm030 \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 77 | PM520 \ |
78 | TB5200 \ | ||||
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 79 | Total5200 \ |
80 | Total5200_Rev2 \ | ||||
81 | TQM5200 \ | ||||
82 | TQM5200_B \ | ||||
83 | TQM5200S \ | ||||
wdenk | 21136db | 2003-07-16 21:53:01 +0000 | [diff] [blame] | 84 | " |
85 | |||||
86 | ######################################################################### | ||||
Rafal Jaworowski | d3a02c3 | 2007-07-27 14:43:59 +0200 | [diff] [blame] | 87 | ## MPC512x Systems |
88 | ######################################################################### | ||||
89 | |||||
Mike Frysinger | b374bdb | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 90 | LIST_512x="$(boards_by_cpu mpc512x) |
Wolfgang Denk | bbcbb32 | 2009-05-16 10:47:41 +0200 | [diff] [blame] | 91 | mpc5121ads \ |
Rafal Jaworowski | d3a02c3 | 2007-07-27 14:43:59 +0200 | [diff] [blame] | 92 | " |
93 | |||||
94 | ######################################################################### | ||||
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 95 | ## MPC8xx Systems |
96 | ######################################################################### | ||||
Mike Frysinger | b374bdb | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 97 | |
98 | LIST_8xx="$(boards_by_cpu mpc8xx) | ||||
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 99 | Adder87x \ |
100 | AdderII \ | ||||
101 | ADS860 \ | ||||
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 102 | FADS823 \ |
103 | FADS850SAR \ | ||||
104 | FADS860T \ | ||||
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 105 | FPS850L \ |
106 | GEN860T \ | ||||
107 | GEN860T_SC \ | ||||
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 108 | ICU862_100MHz \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 109 | IVML24 \ |
110 | IVML24_128 \ | ||||
111 | IVML24_256 \ | ||||
112 | IVMS8 \ | ||||
113 | IVMS8_128 \ | ||||
114 | IVMS8_256 \ | ||||
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 115 | MBX \ |
116 | MBX860T \ | ||||
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 117 | MPC86xADS \ |
118 | MPC885ADS \ | ||||
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 119 | NETPHONE \ |
120 | NETTA \ | ||||
121 | NETTA2 \ | ||||
122 | NETTA_ISDN \ | ||||
123 | NETVIA \ | ||||
124 | NETVIA_V2 \ | ||||
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 125 | RPXlite_DW \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 126 | SPD823TS \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 127 | SXNI855T \ |
Guennadi Liakhovetski | 7a90bb9 | 2008-01-10 17:59:07 +0100 | [diff] [blame] | 128 | TK885D \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 129 | TQM823L \ |
130 | TQM823L_LCD \ | ||||
131 | TQM850L \ | ||||
132 | TQM855L \ | ||||
133 | TQM860L \ | ||||
134 | TQM885D \ | ||||
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 135 | v37 \ |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 136 | " |
137 | |||||
138 | ######################################################################### | ||||
139 | ## PPC4xx Systems | ||||
140 | ######################################################################### | ||||
141 | |||||
Mike Frysinger | b374bdb | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 142 | LIST_4xx="$(boards_by_cpu ppc4xx) |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 143 | acadia_nand \ |
Adam Graham | 4900ed2 | 2008-10-08 10:12:53 -0700 | [diff] [blame] | 144 | arches \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 145 | bamboo_nand \ |
Stefan Roese | 075f7a2 | 2008-03-11 16:53:00 +0100 | [diff] [blame] | 146 | canyonlands \ |
Stefan Roese | 0b86db7 | 2008-03-03 17:27:02 +0100 | [diff] [blame] | 147 | canyonlands_nand \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 148 | CPCI405 \ |
149 | CPCI4052 \ | ||||
150 | CPCI405AB \ | ||||
151 | CPCI405DT \ | ||||
Dirk Eibach | ac44ffb | 2009-07-27 08:49:48 +0200 | [diff] [blame] | 152 | devconcenter \ |
Georg Schardt | 3ce59a1 | 2008-10-24 13:51:52 +0200 | [diff] [blame] | 153 | fx12mm \ |
Stefan Roese | 52df419 | 2008-03-19 16:20:49 +0100 | [diff] [blame] | 154 | glacier \ |
Stefan Roese | 1566805 | 2007-10-23 10:10:08 +0200 | [diff] [blame] | 155 | haleakala \ |
Stefan Roese | 720c585 | 2007-11-03 12:08:28 +0100 | [diff] [blame] | 156 | haleakala_nand \ |
Stefan Roese | 75a3d5d | 2007-08-14 16:36:29 +0200 | [diff] [blame] | 157 | hcu4 \ |
158 | hcu5 \ | ||||
Dirk Eibach | 62dbcba | 2009-09-09 12:36:07 +0200 | [diff] [blame] | 159 | intip \ |
Stefan Roese | 7de9fc7 | 2007-10-05 17:11:30 +0200 | [diff] [blame] | 160 | kilauea \ |
Stefan Roese | 720c585 | 2007-11-03 12:08:28 +0100 | [diff] [blame] | 161 | kilauea_nand \ |
Niklaus Giger | 3fdbc1c | 2008-02-25 18:46:41 +0100 | [diff] [blame] | 162 | mcu25 \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 163 | MIP405T \ |
Ricardo Ribalda Delgado | a8822a7 | 2008-07-17 12:47:09 +0200 | [diff] [blame] | 164 | ml507 \ |
Ricardo Ribalda Delgado | 2a019eb | 2008-07-21 20:30:07 +0200 | [diff] [blame] | 165 | ml507_flash \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 166 | OCRTC \ |
167 | ORSG \ | ||||
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 168 | PPChameleonEVB \ |
Stefan Roese | 8ad6cda | 2007-08-16 09:54:51 +0200 | [diff] [blame] | 169 | rainier \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 170 | sequoia \ |
171 | sequoia_nand \ | ||||
Ricardo Ribalda Delgado | f84496a | 2008-09-01 13:09:39 -0400 | [diff] [blame] | 172 | v5fx30teval \ |
173 | v5fx30teval_flash \ | ||||
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 174 | W7OLMC \ |
175 | W7OLMG \ | ||||
176 | walnut \ | ||||
Ricardo Ribalda Delgado | f84496a | 2008-09-01 13:09:39 -0400 | [diff] [blame] | 177 | xilinx-ppc440-generic \ |
178 | xilinx-ppc440-generic_flash \ | ||||
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 179 | yellowstone \ |
180 | yosemite \ | ||||
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 181 | " |
182 | |||||
183 | ######################################################################### | ||||
wdenk | 337f565 | 2004-10-28 00:09:35 +0000 | [diff] [blame] | 184 | ## MPC8220 Systems |
185 | ######################################################################### | ||||
186 | |||||
Mike Frysinger | b374bdb | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 187 | LIST_8220="$(boards_by_cpu mpc8220)" |
wdenk | 337f565 | 2004-10-28 00:09:35 +0000 | [diff] [blame] | 188 | |
189 | ######################################################################### | ||||
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 190 | ## MPC824x Systems |
191 | ######################################################################### | ||||
192 | |||||
Mike Frysinger | b374bdb | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 193 | LIST_824x="$(boards_by_cpu mpc824x) |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 194 | CPC45 \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 195 | eXalion \ |
Heiko Schocher | 04de951 | 2009-04-28 07:48:39 +0200 | [diff] [blame] | 196 | IDS8247 \ |
Guennadi Liakhovetski | 40c26b2 | 2008-03-31 01:32:15 +0200 | [diff] [blame] | 197 | linkstation_HGLAN \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 198 | Sandpoint8240 \ |
199 | Sandpoint8245 \ | ||||
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 200 | " |
wdenk | dbae504 | 2003-06-21 00:17:24 +0000 | [diff] [blame] | 201 | |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 202 | ######################################################################### |
wdenk | 541a76d | 2003-05-03 15:50:43 +0000 | [diff] [blame] | 203 | ## MPC8260 Systems (includes 8250, 8255 etc.) |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 204 | ######################################################################### |
205 | |||||
Mike Frysinger | b374bdb | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 206 | LIST_8260="$(boards_by_cpu mpc8260) |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 207 | cogent_mpc8260 \ |
208 | CPU86 \ | ||||
209 | CPU87 \ | ||||
210 | ep8248 \ | ||||
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 211 | ISPAN \ |
212 | MPC8260ADS \ | ||||
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 213 | MPC8272ADS \ |
214 | PM826 \ | ||||
215 | PM828 \ | ||||
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 216 | Rattler8248 \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 217 | TQM8260_AC \ |
218 | TQM8260_AD \ | ||||
219 | TQM8260_AE \ | ||||
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 220 | " |
221 | |||||
222 | ######################################################################### | ||||
Eran Liberty | 9095d4a | 2005-07-28 10:08:46 -0500 | [diff] [blame] | 223 | ## MPC83xx Systems (includes 8349, etc.) |
224 | ######################################################################### | ||||
225 | |||||
Mike Frysinger | b374bdb | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 226 | LIST_83xx="$(boards_by_cpu mpc83xx) |
Reinhard Arlt | 6388135 | 2009-12-08 09:13:08 +0100 | [diff] [blame] | 227 | caddy2 \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 228 | MPC8313ERDB_33 \ |
Nick Spence | 120097e | 2008-09-02 15:21:16 -0500 | [diff] [blame] | 229 | MPC8313ERDB_NAND_66 \ |
Dave Liu | 19b247e | 2008-01-11 18:48:24 +0800 | [diff] [blame] | 230 | MPC8315ERDB \ |
Anton Vorontsov | ec82175 | 2009-11-24 20:12:12 +0300 | [diff] [blame] | 231 | MPC8315ERDB_NAND \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 232 | MPC832XEMDS \ |
Tony Li | c5c40d8 | 2007-10-18 17:47:19 +0800 | [diff] [blame] | 233 | MPC832XEMDS_ATM \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 234 | MPC8349ITX \ |
235 | MPC8349ITXGP \ | ||||
236 | MPC8360EMDS \ | ||||
Tony Li | c5c40d8 | 2007-10-18 17:47:19 +0800 | [diff] [blame] | 237 | MPC8360EMDS_ATM \ |
Anton Vorontsov | b6678de | 2008-01-09 20:57:47 +0300 | [diff] [blame] | 238 | MPC8360ERDK_33 \ |
239 | MPC8360ERDK_66 \ | ||||
Dave Liu | dc9e4bb | 2007-09-18 12:40:21 +0800 | [diff] [blame] | 240 | MPC837XEMDS \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 241 | sbc8349 \ |
Ron Madrid | 9ff89b7 | 2009-01-22 15:05:24 -0800 | [diff] [blame] | 242 | SIMPC8313_LP \ |
Reinhard Arlt | 4691179 | 2009-07-25 06:19:12 +0200 | [diff] [blame] | 243 | vme8349 \ |
Eran Liberty | 9095d4a | 2005-07-28 10:08:46 -0500 | [diff] [blame] | 244 | " |
245 | |||||
246 | |||||
247 | ######################################################################### | ||||
wdenk | 9c53f40 | 2003-10-15 23:53:47 +0000 | [diff] [blame] | 248 | ## MPC85xx Systems (includes 8540, 8560 etc.) |
249 | ######################################################################### | ||||
250 | |||||
Mike Frysinger | b374bdb | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 251 | LIST_85xx="$(boards_by_cpu mpc85xx) |
Kumar Gala | fd83aa8 | 2008-07-25 13:31:05 -0500 | [diff] [blame] | 252 | MPC8536DS \ |
Mingkai Hu | c2a6dca | 2009-09-23 15:20:37 +0800 | [diff] [blame] | 253 | MPC8536DS_NAND \ |
Mingkai Hu | a74e395 | 2009-09-23 15:20:38 +0800 | [diff] [blame] | 254 | MPC8536DS_SDCARD \ |
255 | MPC8536DS_SPIFLASH \ | ||||
Becky Bruce | 491c8c7 | 2010-06-17 11:37:27 -0500 | [diff] [blame] | 256 | MPC8536DS_36BIT \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 257 | MPC8540EVAL \ |
258 | MPC8541CDS \ | ||||
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 259 | MPC8548CDS \ |
260 | MPC8555CDS \ | ||||
Haiying Wang | bd25537 | 2009-03-27 17:02:45 -0400 | [diff] [blame] | 261 | MPC8569MDS \ |
Liu Yu | 06f0ebe | 2009-11-27 15:31:52 +0800 | [diff] [blame] | 262 | MPC8569MDS_ATM \ |
Liu Yu | 2639e51 | 2010-01-18 19:03:28 +0800 | [diff] [blame] | 263 | MPC8569MDS_NAND \ |
Kumar Gala | 3ab0b2d | 2008-08-12 11:13:08 -0500 | [diff] [blame] | 264 | MPC8572DS \ |
Kumar Gala | e0f9741 | 2009-01-23 14:22:14 -0600 | [diff] [blame] | 265 | MPC8572DS_36BIT \ |
Srikanth Srinivasan | 949a2d5 | 2009-04-03 15:36:13 -0500 | [diff] [blame] | 266 | P2020DS \ |
267 | P2020DS_36BIT \ | ||||
Poonam Aggrwal | 319bc87 | 2009-08-20 18:59:18 +0530 | [diff] [blame] | 268 | P1011RDB \ |
Dipen Dudhat | e98a3fc | 2009-10-08 13:33:18 +0530 | [diff] [blame] | 269 | P1011RDB_NAND \ |
Dipen Dudhat | 529e5fd | 2009-10-08 13:33:29 +0530 | [diff] [blame] | 270 | P1011RDB_SDCARD \ |
271 | P1011RDB_SPIFLASH \ | ||||
Poonam Aggrwal | ed5c70b | 2009-08-20 18:57:02 +0530 | [diff] [blame] | 272 | P1020RDB \ |
Dipen Dudhat | e98a3fc | 2009-10-08 13:33:18 +0530 | [diff] [blame] | 273 | P1020RDB_NAND \ |
Dipen Dudhat | 529e5fd | 2009-10-08 13:33:29 +0530 | [diff] [blame] | 274 | P1020RDB_SDCARD \ |
275 | P1020RDB_SPIFLASH \ | ||||
Poonam Aggrwal | 319bc87 | 2009-08-20 18:59:18 +0530 | [diff] [blame] | 276 | P2010RDB \ |
Dipen Dudhat | e98a3fc | 2009-10-08 13:33:18 +0530 | [diff] [blame] | 277 | P2010RDB_NAND \ |
Dipen Dudhat | 529e5fd | 2009-10-08 13:33:29 +0530 | [diff] [blame] | 278 | P2010RDB_SDCARD \ |
279 | P2010RDB_SPIFLASH \ | ||||
Poonam Aggrwal | 987862c | 2009-08-05 13:29:24 +0530 | [diff] [blame] | 280 | P2020RDB \ |
Dipen Dudhat | e98a3fc | 2009-10-08 13:33:18 +0530 | [diff] [blame] | 281 | P2020RDB_NAND \ |
Dipen Dudhat | 529e5fd | 2009-10-08 13:33:29 +0530 | [diff] [blame] | 282 | P2020RDB_SDCARD \ |
283 | P2020RDB_SPIFLASH \ | ||||
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 284 | sbc8540 \ |
Joe Hamman | ccefae4 | 2007-12-13 06:45:08 -0600 | [diff] [blame] | 285 | sbc8548 \ |
Paul Gortmaker | f5c69a5 | 2009-09-20 20:36:06 -0400 | [diff] [blame] | 286 | sbc8548_PCI_33 \ |
287 | sbc8548_PCI_66 \ | ||||
288 | sbc8548_PCI_33_PCIE \ | ||||
289 | sbc8548_PCI_66_PCIE \ | ||||
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 290 | sbc8560 \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 291 | stxssa \ |
292 | TQM8540 \ | ||||
293 | TQM8541 \ | ||||
Wolfgang Grandegger | 328c6ec | 2008-06-05 13:12:07 +0200 | [diff] [blame] | 294 | TQM8548 \ |
Wolfgang Grandegger | 7ebcfec | 2009-02-11 18:38:22 +0100 | [diff] [blame] | 295 | TQM8548_AG \ |
Wolfgang Grandegger | e85bbc6 | 2009-02-11 18:38:21 +0100 | [diff] [blame] | 296 | TQM8548_BE \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 297 | TQM8555 \ |
298 | TQM8560 \ | ||||
wdenk | 9c53f40 | 2003-10-15 23:53:47 +0000 | [diff] [blame] | 299 | " |
300 | |||||
301 | ######################################################################### | ||||
Jon Loeliger | 5fe3449 | 2007-05-23 14:09:46 -0500 | [diff] [blame] | 302 | ## MPC86xx Systems |
303 | ######################################################################### | ||||
304 | |||||
Mike Frysinger | b374bdb | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 305 | LIST_86xx="$(boards_by_cpu mpc86xx) |
Becky Bruce | 491c8c7 | 2010-06-17 11:37:27 -0500 | [diff] [blame] | 306 | MPC8641HPCN_36BIT \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 307 | MPC8641HPCN \ |
Jon Loeliger | 5fe3449 | 2007-05-23 14:09:46 -0500 | [diff] [blame] | 308 | " |
309 | |||||
310 | ######################################################################### | ||||
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 311 | ## 74xx/7xx Systems |
312 | ######################################################################### | ||||
313 | |||||
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 314 | LIST_74xx=" \ |
315 | DB64360 \ | ||||
316 | DB64460 \ | ||||
317 | EVB64260 \ | ||||
318 | mpc7448hpc2 \ | ||||
319 | P3G4 \ | ||||
320 | p3m7448 \ | ||||
321 | PCIPPC2 \ | ||||
322 | PCIPPC6 \ | ||||
323 | ZUMA \ | ||||
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 324 | " |
325 | |||||
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 326 | LIST_7xx=" \ |
327 | BAB7xx \ | ||||
328 | CPCI750 \ | ||||
329 | ELPPC \ | ||||
330 | p3m750 \ | ||||
331 | ppmc7xx \ | ||||
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 332 | " |
333 | |||||
Wolfgang Denk | 66549bd | 2008-04-20 15:35:52 -0700 | [diff] [blame] | 334 | ######################################################################### |
335 | ## PowerPC groups | ||||
336 | ######################################################################### | ||||
337 | |||||
338 | LIST_TSEC=" \ | ||||
339 | ${LIST_83xx} \ | ||||
340 | ${LIST_85xx} \ | ||||
341 | ${LIST_86xx} \ | ||||
342 | " | ||||
343 | |||||
Stefan Roese | 88fbf93 | 2010-04-15 16:07:28 +0200 | [diff] [blame] | 344 | LIST_powerpc=" \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 345 | ${LIST_5xx} \ |
Jean-Christophe PLAGNIOL-VILLARD | 0912d31 | 2007-11-25 22:39:25 +0100 | [diff] [blame] | 346 | ${LIST_512x} \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 347 | ${LIST_5xxx} \ |
348 | ${LIST_8xx} \ | ||||
349 | ${LIST_8220} \ | ||||
350 | ${LIST_824x} \ | ||||
351 | ${LIST_8260} \ | ||||
352 | ${LIST_83xx} \ | ||||
353 | ${LIST_85xx} \ | ||||
354 | ${LIST_86xx} \ | ||||
355 | ${LIST_4xx} \ | ||||
356 | ${LIST_74xx} \ | ||||
357 | ${LIST_7xx} \ | ||||
358 | " | ||||
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 359 | |
Stefan Roese | 88fbf93 | 2010-04-15 16:07:28 +0200 | [diff] [blame] | 360 | # Alias "ppc" -> "powerpc" to not break compatibility with older scripts |
361 | # still using "ppc" instead of "powerpc" | ||||
362 | LIST_ppc=" \ | ||||
363 | ${LIST_powerpc} \ | ||||
364 | " | ||||
365 | |||||
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 366 | ######################################################################### |
367 | ## StrongARM Systems | ||||
368 | ######################################################################### | ||||
369 | |||||
Mike Frysinger | b374bdb | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 370 | LIST_SA="$(boards_by_cpu sa1100)" |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 371 | |
372 | ######################################################################### | ||||
373 | ## ARM7 Systems | ||||
374 | ######################################################################### | ||||
375 | |||||
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 376 | LIST_ARM7=" \ |
377 | ap7 \ | ||||
378 | ap720t \ | ||||
379 | armadillo \ | ||||
380 | B2 \ | ||||
381 | ep7312 \ | ||||
382 | evb4510 \ | ||||
383 | impa7 \ | ||||
384 | integratorap \ | ||||
385 | lpc2292sodimm \ | ||||
386 | modnet50 \ | ||||
387 | SMN42 \ | ||||
Wolfgang Denk | adf20a1 | 2005-09-25 01:48:28 +0200 | [diff] [blame] | 388 | " |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 389 | |
390 | ######################################################################### | ||||
391 | ## ARM9 Systems | ||||
392 | ######################################################################### | ||||
393 | |||||
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 394 | LIST_ARM9=" \ |
Po-Yu Chuang | 5614a4d | 2009-11-11 17:27:30 +0800 | [diff] [blame] | 395 | a320evb \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 396 | ap920t \ |
397 | ap922_XA10 \ | ||||
398 | ap926ejs \ | ||||
399 | ap946es \ | ||||
400 | ap966 \ | ||||
401 | cp920t \ | ||||
402 | cp922_XA10 \ | ||||
403 | cp926ejs \ | ||||
404 | cp946es \ | ||||
405 | cp966 \ | ||||
Sekhar Nori | 5ffad63 | 2009-11-12 11:09:25 -0500 | [diff] [blame] | 406 | da830evm \ |
Sudhakar Rajashekhara | 6892181 | 2010-06-10 15:18:15 +0530 | [diff] [blame] | 407 | da850evm \ |
Matthias Kaehlcke | 279437d | 2010-02-01 21:29:48 +0100 | [diff] [blame] | 408 | edb9301 \ |
409 | edb9302 \ | ||||
410 | edb9302a \ | ||||
411 | edb9307 \ | ||||
412 | edb9307a \ | ||||
413 | edb9312 \ | ||||
414 | edb9315 \ | ||||
415 | edb9315a \ | ||||
Albert Aribaud | acc41ff | 2010-06-17 19:38:21 +0530 | [diff] [blame] | 416 | edminiv2 \ |
Siddarth Gore | 11b10b0 | 2010-03-18 20:25:40 +0530 | [diff] [blame] | 417 | guruplug \ |
Ilya Yanok | 016b702 | 2009-08-11 02:32:09 +0400 | [diff] [blame] | 418 | imx27lite \ |
Matthias Weisser | dcf0dca | 2010-08-09 13:31:51 +0200 | [diff] [blame] | 419 | jadecpu \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 420 | lpd7a400 \ |
Heiko Schocher | c8f5112 | 2010-03-05 07:36:33 +0100 | [diff] [blame] | 421 | magnesium \ |
Prafulla Wadaskar | 60a04f9 | 2009-07-16 20:58:01 +0530 | [diff] [blame] | 422 | mv88f6281gtw_ge \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 423 | mx1ads \ |
424 | mx1fs2 \ | ||||
425 | netstar \ | ||||
Jean-Christophe PLAGNIOL-VILLARD | 871e481 | 2009-07-05 01:06:06 +0200 | [diff] [blame] | 426 | nhk8815 \ |
427 | nhk8815_onenand \ | ||||
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 428 | omap1510inn \ |
429 | omap1610h2 \ | ||||
430 | omap1610inn \ | ||||
David Brownell | 161f411 | 2008-01-18 12:45:45 -0800 | [diff] [blame] | 431 | omap5912osk \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 432 | omap730p2 \ |
Simon Kagstrom | 258c330 | 2009-09-22 04:01:01 +0530 | [diff] [blame] | 433 | openrd_base \ |
Prafulla Wadaskar | 4aab4ae | 2009-07-16 21:02:24 +0530 | [diff] [blame] | 434 | rd6281a \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 435 | sbc2410x \ |
436 | scb9328 \ | ||||
Prafulla Wadaskar | 6263464 | 2009-07-16 20:58:00 +0530 | [diff] [blame] | 437 | sheevaplug \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 438 | smdk2400 \ |
439 | smdk2410 \ | ||||
Vipin KUMAR | b0ea089 | 2010-01-15 19:15:50 +0530 | [diff] [blame] | 440 | spear300 \ |
Vipin KUMAR | 6e2998f | 2010-01-15 19:15:52 +0530 | [diff] [blame] | 441 | spear310 \ |
Vipin KUMAR | cc0da71 | 2010-01-15 19:15:53 +0530 | [diff] [blame] | 442 | spear320 \ |
Vipin KUMAR | 7cc4c46 | 2010-01-15 19:15:48 +0530 | [diff] [blame] | 443 | spear600 \ |
Heiko Schocher | 6030119 | 2010-02-22 16:43:02 +0530 | [diff] [blame] | 444 | suen3 \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 445 | trab \ |
446 | VCMA9 \ | ||||
447 | versatile \ | ||||
448 | versatileab \ | ||||
449 | versatilepb \ | ||||
450 | voiceblue \ | ||||
451 | davinci_dvevm \ | ||||
452 | davinci_schmoogie \ | ||||
Hugo Villeneuve | 4f3f671 | 2008-05-21 13:58:41 -0400 | [diff] [blame] | 453 | davinci_sffsdr \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 454 | davinci_sonata \ |
David Brownell | 7a84618 | 2009-05-15 23:48:37 +0200 | [diff] [blame] | 455 | davinci_dm355evm \ |
Sandeep Paulraj | 2e584ec | 2009-10-10 13:37:10 -0400 | [diff] [blame] | 456 | davinci_dm355leopard \ |
Sandeep Paulraj | 7c82bdc | 2010-02-17 21:09:21 -0500 | [diff] [blame] | 457 | davinci_dm365evm \ |
Sandeep Paulraj | 1830bba | 2009-10-10 12:00:47 -0400 | [diff] [blame] | 458 | davinci_dm6467evm \ |
wdenk | 7eaacc5 | 2003-08-29 22:00:43 +0000 | [diff] [blame] | 459 | " |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 460 | |
461 | ######################################################################### | ||||
Wolfgang Denk | adf20a1 | 2005-09-25 01:48:28 +0200 | [diff] [blame] | 462 | ## ARM10 Systems |
463 | ######################################################################### | ||||
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 464 | LIST_ARM10=" \ |
465 | integratorcp \ | ||||
466 | cp1026 \ | ||||
Wolfgang Denk | adf20a1 | 2005-09-25 01:48:28 +0200 | [diff] [blame] | 467 | " |
468 | |||||
469 | ######################################################################### | ||||
wdenk | f806271 | 2005-01-09 23:16:25 +0000 | [diff] [blame] | 470 | ## ARM11 Systems |
471 | ######################################################################### | ||||
Guennadi Liakhovetski | b093d8d | 2009-03-25 11:36:50 +0100 | [diff] [blame] | 472 | LIST_ARM11=" \ |
473 | cp1136 \ | ||||
474 | omap2420h4 \ | ||||
475 | apollon \ | ||||
476 | imx31_litekit \ | ||||
477 | imx31_phycore \ | ||||
478 | imx31_phycore_eet \ | ||||
479 | mx31ads \ | ||||
Magnus Lilja | 6eeb6f7 | 2009-07-01 01:07:55 +0200 | [diff] [blame] | 480 | mx31pdk \ |
Magnus Lilja | 24f8b41 | 2009-07-04 10:31:24 +0200 | [diff] [blame] | 481 | mx31pdk_nand \ |
Guennadi Liakhovetski | b093d8d | 2009-03-25 11:36:50 +0100 | [diff] [blame] | 482 | qong \ |
483 | smdk6400 \ | ||||
Cyril Chemparathy | 3d13806 | 2010-06-07 14:13:36 -0400 | [diff] [blame] | 484 | tnetv107x_evm \ |
Wolfgang Denk | adf20a1 | 2005-09-25 01:48:28 +0200 | [diff] [blame] | 485 | " |
wdenk | f806271 | 2005-01-09 23:16:25 +0000 | [diff] [blame] | 486 | |
487 | ######################################################################### | ||||
Steve Sakoman | 6329a8f | 2010-06-17 21:50:01 -0700 | [diff] [blame] | 488 | ## ARMV7 Systems |
Dirk Behme | 2781f80 | 2009-01-27 18:19:12 +0100 | [diff] [blame] | 489 | ######################################################################### |
Steve Sakoman | 6329a8f | 2010-06-17 21:50:01 -0700 | [diff] [blame] | 490 | LIST_ARMV7=" \ |
Vaibhav Hiremath | db5c558 | 2010-06-07 15:20:43 -0400 | [diff] [blame] | 491 | am3517_evm \ |
Frederik Kriewitz | 9939650 | 2009-08-23 12:56:42 +0200 | [diff] [blame] | 492 | devkit8000 \ |
Stefano Babic | 421834e | 2010-02-05 15:13:58 +0100 | [diff] [blame] | 493 | mx51evk \ |
Dirk Behme | 2781f80 | 2009-01-27 18:19:12 +0100 | [diff] [blame] | 494 | omap3_beagle \ |
Dirk Behme | 220faba | 2009-01-28 21:39:57 +0100 | [diff] [blame] | 495 | omap3_overo \ |
Dirk Behme | bb732be | 2009-01-28 21:39:58 +0100 | [diff] [blame] | 496 | omap3_evm \ |
Dirk Behme | 7b84a7b | 2009-01-28 21:39:58 +0100 | [diff] [blame] | 497 | omap3_pandora \ |
Tom Rix | c5a5135 | 2009-10-17 12:41:06 -0500 | [diff] [blame] | 498 | omap3_sdp3430 \ |
Dirk Behme | bab104e | 2009-01-28 21:40:16 +0100 | [diff] [blame] | 499 | omap3_zoom1 \ |
Tom Rix | 0419d91 | 2009-05-15 23:48:36 +0200 | [diff] [blame] | 500 | omap3_zoom2 \ |
Steve Sakoman | 6b810ff | 2010-06-11 20:35:26 -0700 | [diff] [blame] | 501 | omap4_panda \ |
Steve Sakoman | 1b3dd5d | 2010-06-08 13:07:46 -0700 | [diff] [blame] | 502 | omap4_sdp4430 \ |
Minkyu Kang | 1ecdd83 | 2010-05-31 22:02:42 +0900 | [diff] [blame] | 503 | s5p_goni \ |
Minkyu Kang | 2932557 | 2009-10-01 17:20:40 +0900 | [diff] [blame] | 504 | smdkc100 \ |
Dirk Behme | 2781f80 | 2009-01-27 18:19:12 +0100 | [diff] [blame] | 505 | " |
506 | |||||
507 | ######################################################################### | ||||
Jean-Christophe PLAGNIOL-VILLARD | 9a88fd1 | 2008-05-24 12:47:46 +0200 | [diff] [blame] | 508 | ## AT91 Systems |
509 | ######################################################################### | ||||
510 | |||||
Sedji Gaouaou | 538566d | 2009-07-09 10:16:29 +0200 | [diff] [blame] | 511 | LIST_at91=" \ |
512 | afeb9260 \ | ||||
513 | at91cap9adk \ | ||||
514 | at91rm9200dk \ | ||||
515 | at91rm9200ek \ | ||||
516 | at91sam9260ek \ | ||||
517 | at91sam9261ek \ | ||||
518 | at91sam9263ek \ | ||||
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 519 | at91sam9g10ek \ |
Sedji Gaouaou | 538566d | 2009-07-09 10:16:29 +0200 | [diff] [blame] | 520 | at91sam9g20ek \ |
Sedji Gaouaou | 97a031b | 2009-06-25 17:04:15 +0200 | [diff] [blame] | 521 | at91sam9m10g45ek \ |
Sedji Gaouaou | 538566d | 2009-07-09 10:16:29 +0200 | [diff] [blame] | 522 | at91sam9rlek \ |
523 | cmc_pu2 \ | ||||
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 524 | CPUAT91 \ |
Tom Rix | 799a05b | 2009-09-27 11:10:09 -0500 | [diff] [blame] | 525 | CPU9260 \ |
526 | CPU9G20 \ | ||||
Sedji Gaouaou | 538566d | 2009-07-09 10:16:29 +0200 | [diff] [blame] | 527 | csb637 \ |
Jens Scharsig | aeceb50 | 2010-02-03 22:48:09 +0100 | [diff] [blame] | 528 | eb_cpux9k2 \ |
Sedji Gaouaou | 538566d | 2009-07-09 10:16:29 +0200 | [diff] [blame] | 529 | kb9202 \ |
530 | meesc \ | ||||
531 | mp2usb \ | ||||
532 | m501sk \ | ||||
Daniel Gorsulowski | 6e02da5 | 2010-01-25 10:50:41 +0100 | [diff] [blame] | 533 | otc570 \ |
Sedji Gaouaou | 538566d | 2009-07-09 10:16:29 +0200 | [diff] [blame] | 534 | pm9261 \ |
535 | pm9263 \ | ||||
Asen Dimov | ddd0bda | 2010-04-20 22:49:04 +0300 | [diff] [blame] | 536 | pm9g45 \ |
Albin Tonnerre | 2061546 | 2009-08-20 16:04:49 +0200 | [diff] [blame] | 537 | SBC35_A9G20 \ |
538 | TNY_A9260 \ | ||||
539 | TNY_A9G20 \ | ||||
Jean-Christophe PLAGNIOL-VILLARD | 9a88fd1 | 2008-05-24 12:47:46 +0200 | [diff] [blame] | 540 | " |
541 | |||||
542 | ######################################################################### | ||||
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 543 | ## Xscale Systems |
544 | ######################################################################### | ||||
545 | |||||
Mike Frysinger | b374bdb | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 546 | LIST_pxa="$(boards_by_cpu pxa) |
Stefano Babic | e33f804 | 2009-07-01 20:40:41 +0200 | [diff] [blame] | 547 | polaris \ |
Stefano Babic | e33f804 | 2009-07-01 20:40:41 +0200 | [diff] [blame] | 548 | trizepsiv \ |
Marek Vasut | 1e84758 | 2010-03-07 23:35:48 +0100 | [diff] [blame] | 549 | vpac270_nor \ |
550 | vpac270_onenand \ | ||||
wdenk | fa89d7c | 2004-09-28 16:44:41 +0000 | [diff] [blame] | 551 | " |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 552 | |
Mike Frysinger | b374bdb | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 553 | LIST_ixp="$(boards_by_cpu ixp) |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 554 | pdnb3 \ |
555 | scpu \ | ||||
556 | " | ||||
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 557 | |
Wolfgang Denk | 66549bd | 2008-04-20 15:35:52 -0700 | [diff] [blame] | 558 | ######################################################################### |
559 | ## ARM groups | ||||
560 | ######################################################################### | ||||
wdenk | bd1575f | 2003-10-14 19:43:55 +0000 | [diff] [blame] | 561 | |
Dirk Behme | 2781f80 | 2009-01-27 18:19:12 +0100 | [diff] [blame] | 562 | LIST_arm=" \ |
563 | ${LIST_SA} \ | ||||
564 | ${LIST_ARM7} \ | ||||
565 | ${LIST_ARM9} \ | ||||
566 | ${LIST_ARM10} \ | ||||
567 | ${LIST_ARM11} \ | ||||
Steve Sakoman | 6329a8f | 2010-06-17 21:50:01 -0700 | [diff] [blame] | 568 | ${LIST_ARMV7} \ |
Dirk Behme | 2781f80 | 2009-01-27 18:19:12 +0100 | [diff] [blame] | 569 | ${LIST_at91} \ |
570 | ${LIST_pxa} \ | ||||
571 | ${LIST_ixp} \ | ||||
wdenk | f806271 | 2005-01-09 23:16:25 +0000 | [diff] [blame] | 572 | " |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 573 | |
wdenk | bb1b826 | 2003-03-27 12:09:35 +0000 | [diff] [blame] | 574 | ######################################################################### |
Wolfgang Denk | bc8c500 | 2005-08-14 00:27:00 +0200 | [diff] [blame] | 575 | ## MIPS Systems (default = big endian) |
wdenk | bb1b826 | 2003-03-27 12:09:35 +0000 | [diff] [blame] | 576 | ######################################################################### |
577 | |||||
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 578 | LIST_mips4kc=" \ |
579 | incaip \ | ||||
Vlad Lungu | 635e76c | 2008-01-16 19:27:51 +0200 | [diff] [blame] | 580 | qemu_mips \ |
Stefan Roese | ee7a6ba | 2009-01-21 17:25:01 +0100 | [diff] [blame] | 581 | vct_platinum \ |
582 | vct_platinum_small \ | ||||
583 | vct_platinum_onenand \ | ||||
584 | vct_platinum_onenand_small \ | ||||
585 | vct_platinumavc \ | ||||
586 | vct_platinumavc_small \ | ||||
587 | vct_platinumavc_onenand \ | ||||
588 | vct_platinumavc_onenand_small \ | ||||
589 | vct_premium \ | ||||
590 | vct_premium_small \ | ||||
591 | vct_premium_onenand \ | ||||
592 | vct_premium_onenand_small \ | ||||
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 593 | " |
wdenk | bb1b826 | 2003-03-27 12:09:35 +0000 | [diff] [blame] | 594 | |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 595 | LIST_mips5kc=" \ |
596 | purple \ | ||||
597 | " | ||||
wdenk | b02744a | 2003-04-05 00:53:31 +0000 | [diff] [blame] | 598 | |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 599 | LIST_au1xx0=" \ |
600 | dbau1000 \ | ||||
601 | dbau1100 \ | ||||
602 | dbau1500 \ | ||||
603 | dbau1550 \ | ||||
604 | dbau1550_el \ | ||||
605 | gth2 \ | ||||
606 | " | ||||
wdenk | 9b7f384 | 2003-10-09 20:09:04 +0000 | [diff] [blame] | 607 | |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 608 | LIST_mips=" \ |
609 | ${LIST_mips4kc} \ | ||||
610 | ${LIST_mips5kc} \ | ||||
611 | ${LIST_au1xx0} \ | ||||
612 | " | ||||
wdenk | bb1b826 | 2003-03-27 12:09:35 +0000 | [diff] [blame] | 613 | |
wdenk | abda5ca | 2003-05-31 18:35:21 +0000 | [diff] [blame] | 614 | ######################################################################### |
Wolfgang Denk | bc8c500 | 2005-08-14 00:27:00 +0200 | [diff] [blame] | 615 | ## MIPS Systems (little endian) |
616 | ######################################################################### | ||||
617 | |||||
618 | LIST_mips4kc_el="" | ||||
619 | |||||
620 | LIST_mips5kc_el="" | ||||
621 | |||||
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 622 | LIST_au1xx0_el=" \ |
623 | dbau1550_el \ | ||||
Shinya Kuribayashi | 2437cfb | 2007-10-27 15:00:25 +0900 | [diff] [blame] | 624 | pb1000 \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 625 | " |
Wolfgang Denk | bc8c500 | 2005-08-14 00:27:00 +0200 | [diff] [blame] | 626 | |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 627 | LIST_mips_el=" \ |
628 | ${LIST_mips4kc_el} \ | ||||
629 | ${LIST_mips5kc_el} \ | ||||
630 | ${LIST_au1xx0_el} \ | ||||
631 | " | ||||
Wolfgang Denk | bc8c500 | 2005-08-14 00:27:00 +0200 | [diff] [blame] | 632 | |
633 | ######################################################################### | ||||
wdenk | abda5ca | 2003-05-31 18:35:21 +0000 | [diff] [blame] | 634 | ## i386 Systems |
635 | ######################################################################### | ||||
636 | |||||
Mike Frysinger | b374bdb | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 637 | LIST_x86="$(boards_by_arch i386) |
Graeme Russ | e56d397 | 2008-12-07 10:28:57 +1100 | [diff] [blame] | 638 | sc520_eNET \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 639 | " |
wdenk | abda5ca | 2003-05-31 18:35:21 +0000 | [diff] [blame] | 640 | |
wdenk | 3be717f | 2004-01-03 19:43:48 +0000 | [diff] [blame] | 641 | ######################################################################### |
wdenk | ef3386f | 2004-10-10 21:27:30 +0000 | [diff] [blame] | 642 | ## Nios-II Systems |
643 | ######################################################################### | ||||
644 | |||||
Mike Frysinger | b374bdb | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 645 | LIST_nios2="$(boards_by_arch nios2) |
Thomas Chou | 7ffbbf5 | 2010-04-21 08:40:59 +0800 | [diff] [blame] | 646 | nios2-generic \ |
Wolfgang Denk | b4b1c46 | 2006-06-10 19:27:47 +0200 | [diff] [blame] | 647 | " |
wdenk | ef3386f | 2004-10-10 21:27:30 +0000 | [diff] [blame] | 648 | |
649 | ######################################################################### | ||||
wdenk | 20a6122 | 2004-07-10 23:48:41 +0000 | [diff] [blame] | 650 | ## MicroBlaze Systems |
651 | ######################################################################### | ||||
652 | |||||
Mike Frysinger | b374bdb | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 653 | LIST_microblaze="$(boards_by_arch microblaze)" |
wdenk | 20a6122 | 2004-07-10 23:48:41 +0000 | [diff] [blame] | 654 | |
Zachary P. Landau | 1c3c096 | 2006-01-26 17:38:46 -0500 | [diff] [blame] | 655 | ######################################################################### |
656 | ## ColdFire Systems | ||||
657 | ######################################################################### | ||||
658 | |||||
Mike Frysinger | b374bdb | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 659 | LIST_coldfire="$(boards_by_arch m68k) |
Wolfgang Wegner | 406471c | 2010-01-25 11:27:44 +0100 | [diff] [blame] | 660 | astro_mcf5373l \ |
Kim Phillips | 8c0c893 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 661 | cobra5272 \ |
662 | EB+MCF-EV123 \ | ||||
663 | EB+MCF-EV123_internal \ | ||||
TsiChungLiew | 99b037a | 2008-01-14 17:43:33 -0600 | [diff] [blame] | 664 | M52277EVB \ |
TsiChungLiew | b859ef1 | 2007-08-16 19:23:50 -0500 | [diff] [blame] | 665 | M5235EVB \ |
TsiChungLiew | 6f8a0a3 | 2008-01-14 17:23:08 -0600 | [diff] [blame] | 666 | M5329AFEE \ |
667 | M5373EVB \ | ||||
TsiChung Liew | 3cdc00a | 2008-08-11 13:41:49 +0000 | [diff] [blame] | 668 | M54451EVB \ |
TsiChungLiew | fc3ca3b6 | 2007-08-16 15:05:11 -0500 | [diff] [blame] | 669 | M54455EVB \ |
TsiChungLiew | 8cb946d | 2008-01-15 14:15:46 -0600 | [diff] [blame] | 670 | M5475AFE \ |
671 | M5485AFE \ | ||||
Heiko Schocher | ac1956e | 2006-04-20 08:42:42 +0200 | [diff] [blame] | 672 | " |
Zachary P. Landau | 1c3c096 | 2006-01-26 17:38:46 -0500 | [diff] [blame] | 673 | |
Wolfgang Denk | 994ad96 | 2006-10-24 14:42:37 +0200 | [diff] [blame] | 674 | ######################################################################### |
675 | ## AVR32 Systems | ||||
676 | ######################################################################### | ||||
677 | |||||
Mike Frysinger | b374bdb | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 678 | LIST_avr32="$(boards_by_arch avr32)" |
Wolfgang Denk | 994ad96 | 2006-10-24 14:42:37 +0200 | [diff] [blame] | 679 | |
Aubrey.Li | 450c23e | 2007-03-09 13:40:56 +0800 | [diff] [blame] | 680 | ######################################################################### |
681 | ## Blackfin Systems | ||||
682 | ######################################################################### | ||||
683 | |||||
Mike Frysinger | b374bdb | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 684 | LIST_blackfin="$(boards_by_arch blackfin) |
685 | bf527-ezkit-v2 | ||||
Aubrey.Li | 450c23e | 2007-03-09 13:40:56 +0800 | [diff] [blame] | 686 | " |
687 | |||||
Jean-Christophe PLAGNIOL-VILLARD | ceee338 | 2007-11-27 09:44:53 +0100 | [diff] [blame] | 688 | ######################################################################### |
689 | ## SH Systems | ||||
690 | ######################################################################### | ||||
691 | |||||
Nobuhiro Iwamatsu | 6f7d436 | 2008-08-31 23:02:04 +0900 | [diff] [blame] | 692 | LIST_sh2=" \ |
693 | rsk7203 \ | ||||
694 | " | ||||
Wolfgang Denk | 66549bd | 2008-04-20 15:35:52 -0700 | [diff] [blame] | 695 | LIST_sh3=" \ |
696 | mpr2 \ | ||||
697 | ms7720se \ | ||||
698 | " | ||||
699 | |||||
Jean-Christophe PLAGNIOL-VILLARD | ceee338 | 2007-11-27 09:44:53 +0100 | [diff] [blame] | 700 | LIST_sh4=" \ |
Nobuhiro Iwamatsu | a2943f0 | 2007-11-29 00:13:04 +0900 | [diff] [blame] | 701 | ms7750se \ |
Jean-Christophe PLAGNIOL-VILLARD | ceee338 | 2007-11-27 09:44:53 +0100 | [diff] [blame] | 702 | ms7722se \ |
Nobuhiro Iwamatsu | 0121325 | 2008-07-08 12:03:24 +0900 | [diff] [blame] | 703 | MigoR \ |
Yusuke Goda | cf23602 | 2008-03-11 12:55:12 +0900 | [diff] [blame] | 704 | r7780mp \ |
Nobuhiro Iwamatsu | 868b52b | 2008-03-25 17:11:24 +0900 | [diff] [blame] | 705 | r2dplus \ |
Nobuhiro Iwamatsu | 113a37e | 2008-06-09 13:39:57 +0900 | [diff] [blame] | 706 | sh7763rdp \ |
Nobuhiro Iwamatsu | 52f73c0 | 2008-08-31 22:45:08 +0900 | [diff] [blame] | 707 | sh7785lcr \ |
Nobuhiro Iwamatsu | 3e59043 | 2008-08-22 17:39:09 +0900 | [diff] [blame] | 708 | ap325rxa \ |
Nobuhiro Iwamatsu | d1f2a0c | 2009-06-25 16:31:26 +0900 | [diff] [blame] | 709 | espt \ |
Jean-Christophe PLAGNIOL-VILLARD | ceee338 | 2007-11-27 09:44:53 +0100 | [diff] [blame] | 710 | " |
711 | |||||
Jean-Christophe PLAGNIOL-VILLARD | ceee338 | 2007-11-27 09:44:53 +0100 | [diff] [blame] | 712 | LIST_sh=" \ |
Nobuhiro Iwamatsu | 3e59043 | 2008-08-22 17:39:09 +0900 | [diff] [blame] | 713 | ${LIST_sh2} \ |
Jean-Christophe PLAGNIOL-VILLARD | ceee338 | 2007-11-27 09:44:53 +0100 | [diff] [blame] | 714 | ${LIST_sh3} \ |
715 | ${LIST_sh4} \ | ||||
716 | " | ||||
717 | |||||
Daniel Hellstrom | 9d7c6b2 | 2008-03-28 09:47:00 +0100 | [diff] [blame] | 718 | ######################################################################### |
719 | ## SPARC Systems | ||||
720 | ######################################################################### | ||||
721 | |||||
Mike Frysinger | b374bdb | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 722 | LIST_sparc="$(boards_by_arch sparc)" |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 723 | |
724 | #----------------------------------------------------------------------- | ||||
725 | |||||
726 | build_target() { | ||||
727 | target=$1 | ||||
728 | |||||
729 | ${MAKE} distclean >/dev/null | ||||
Kim Phillips | 5ac3c12 | 2010-09-14 14:48:16 -0500 | [diff] [blame] | 730 | ${MAKE} -s ${target}_config |
Marian Balakowicz | d62379d | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 731 | |
732 | ${MAKE} ${JOBS} all 2>&1 >${LOG_DIR}/$target.MAKELOG \ | ||||
733 | | tee ${LOG_DIR}/$target.ERR | ||||
Peter Tyser | a5a27b9 | 2009-12-06 23:58:28 -0600 | [diff] [blame] | 734 | |
735 | # Check for 'make' errors | ||||
736 | if [ ${PIPESTATUS[0]} -ne 0 ] ; then | ||||
737 | RC=1 | ||||
738 | fi | ||||
739 | |||||
Peter Tyser | 23240d2 | 2009-09-21 12:04:32 -0500 | [diff] [blame] | 740 | if [ -s ${LOG_DIR}/$target.ERR ] ; then |
741 | ERR_CNT=$((ERR_CNT + 1)) | ||||
742 | ERR_LIST="${ERR_LIST} $target" | ||||
743 | else | ||||
744 | rm ${LOG_DIR}/$target.ERR | ||||
745 | fi | ||||
746 | |||||
747 | TOTAL_CNT=$((TOTAL_CNT + 1)) | ||||
Marian Balakowicz | d62379d | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 748 | |
Mike Frysinger | 119432a | 2008-01-28 05:56:19 -0500 | [diff] [blame] | 749 | ${CROSS_COMPILE}size ${BUILD_DIR}/u-boot \ |
Marian Balakowicz | d62379d | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 750 | | tee -a ${LOG_DIR}/$target.MAKELOG |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 751 | } |
Mike Frysinger | b374bdb | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 752 | build_targets() { |
753 | for t in "$@" ; do | ||||
754 | # If a LIST_xxx var exists, use it. But avoid variable | ||||
755 | # expansion in the eval when a board name contains certain | ||||
756 | # characters that the shell interprets. | ||||
757 | case ${t} in | ||||
758 | *[-+=]*) list= ;; | ||||
759 | *) list=$(eval echo '${LIST_'$t'}') ;; | ||||
760 | esac | ||||
761 | if [ -n "${list}" ] ; then | ||||
762 | build_targets ${list} | ||||
763 | else | ||||
764 | build_target ${t} | ||||
765 | fi | ||||
766 | done | ||||
767 | } | ||||
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 768 | |
769 | #----------------------------------------------------------------------- | ||||
770 | |||||
Peter Tyser | 23240d2 | 2009-09-21 12:04:32 -0500 | [diff] [blame] | 771 | print_stats() { |
772 | echo "" | ||||
773 | echo "--------------------- SUMMARY ----------------------------" | ||||
774 | echo "Boards compiled: ${TOTAL_CNT}" | ||||
775 | if [ ${ERR_CNT} -gt 0 ] ; then | ||||
776 | echo "Boards with warnings or errors: ${ERR_CNT} (${ERR_LIST} )" | ||||
777 | fi | ||||
778 | echo "----------------------------------------------------------" | ||||
Peter Tyser | a5a27b9 | 2009-12-06 23:58:28 -0600 | [diff] [blame] | 779 | |
780 | exit $RC | ||||
Peter Tyser | 23240d2 | 2009-09-21 12:04:32 -0500 | [diff] [blame] | 781 | } |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 782 | |
Peter Tyser | 23240d2 | 2009-09-21 12:04:32 -0500 | [diff] [blame] | 783 | #----------------------------------------------------------------------- |
Mike Frysinger | b374bdb | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 784 | |
785 | #----- for now, just run PowerPC by default ----- | ||||
786 | [ $# = 0 ] && set -- powerpc | ||||
787 | |||||
788 | build_targets "$@" |