Peter Tyser | f235287 | 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 | 40a28f0 | 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 | 7fa6a2f | 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 | 55f786d | 2009-09-21 12:04:33 -0500 | [diff] [blame] | 12 | JOBS="-j $((BUILD_NCPUS + 1))" |
Wolfgang Denk | 7fa6a2f | 2008-12-09 00:39:08 +0100 | [diff] [blame] | 13 | else |
14 | JOBS="" | ||||
15 | fi | ||||
16 | |||||
wdenk | a8c7c70 | 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 | f932863 | 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 | 887e2ec | 2006-09-07 11:51:23 +0200 | [diff] [blame] | 29 | |
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 30 | if [ ! "${BUILD_DIR}" ] ; then |
31 | BUILD_DIR="." | ||||
32 | fi | ||||
33 | |||||
Marian Balakowicz | 4f0645e | 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 | 40a28f0 | 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 | f235287 | 2009-12-06 23:58:28 -0600 | [diff] [blame] | 42 | RC=0 |
Peter Tyser | 40a28f0 | 2009-09-21 12:04:32 -0500 | [diff] [blame] | 43 | |
Mike Frysinger | 9ec49f8 | 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 | 0db5bca | 2003-03-31 17:27:09 +0000 | [diff] [blame] | 57 | ## MPC5xx Systems |
58 | ######################################################################### | ||||
59 | |||||
Mike Frysinger | 9ec49f8 | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 60 | LIST_5xx="$(boards_by_cpu mpc5xx)" |
wdenk | 0db5bca | 2003-03-31 17:27:09 +0000 | [diff] [blame] | 61 | |
62 | ######################################################################### | ||||
wdenk | 945af8d | 2003-07-16 21:53:01 +0000 | [diff] [blame] | 63 | ## MPC5xxx Systems |
64 | ######################################################################### | ||||
65 | |||||
Mike Frysinger | 9ec49f8 | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 66 | LIST_5xxx="$(boards_by_cpu mpc5xxx) |
Grzegorz Bernacki | 5c4fa9b | 2009-03-17 10:06:40 +0100 | [diff] [blame] | 67 | digsy_mtc \ |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 68 | EVAL5200 \ |
69 | fo300 \ | ||||
Eric Millbrandt | 5b53b29 | 2009-08-13 10:14:21 -0500 | [diff] [blame] | 70 | galaxy5200 \ |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 71 | icecube_5200 \ |
72 | lite5200b \ | ||||
73 | mcc200 \ | ||||
Andre Schwarz | 5e0de0e | 2008-07-09 18:30:44 +0200 | [diff] [blame] | 74 | MVBC_P \ |
Andre Schwarz | 1f2463d | 2010-04-01 21:26:55 +0200 | [diff] [blame] | 75 | MVSMR \ |
Jon Smirl | c996994 | 2009-06-14 18:21:28 -0400 | [diff] [blame] | 76 | pcm030 \ |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 77 | PM520 \ |
78 | TB5200 \ | ||||
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 79 | Total5200 \ |
80 | Total5200_Rev2 \ | ||||
81 | TQM5200 \ | ||||
82 | TQM5200_B \ | ||||
83 | TQM5200S \ | ||||
wdenk | 945af8d | 2003-07-16 21:53:01 +0000 | [diff] [blame] | 84 | " |
85 | |||||
86 | ######################################################################### | ||||
Rafal Jaworowski | 8993e54 | 2007-07-27 14:43:59 +0200 | [diff] [blame] | 87 | ## MPC512x Systems |
88 | ######################################################################### | ||||
89 | |||||
Mike Frysinger | 9ec49f8 | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 90 | LIST_512x="$(boards_by_cpu mpc512x) |
Wolfgang Denk | 72601d0 | 2009-05-16 10:47:41 +0200 | [diff] [blame] | 91 | mpc5121ads \ |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 92 | " |
93 | |||||
94 | ######################################################################### | ||||
95 | ## MPC8xx Systems | ||||
96 | ######################################################################### | ||||
Mike Frysinger | 9ec49f8 | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 97 | |
98 | LIST_8xx="$(boards_by_cpu mpc8xx) | ||||
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 99 | Adder87x \ |
100 | AdderII \ | ||||
101 | ADS860 \ | ||||
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 102 | FADS823 \ |
103 | FADS850SAR \ | ||||
104 | FADS860T \ | ||||
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 105 | FPS850L \ |
106 | GEN860T \ | ||||
107 | GEN860T_SC \ | ||||
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 108 | ICU862_100MHz \ |
Kim Phillips | fb56579 | 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 | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 115 | MBX \ |
116 | MBX860T \ | ||||
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 117 | MPC86xADS \ |
118 | MPC885ADS \ | ||||
Kim Phillips | fb56579 | 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 | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 125 | RPXlite_DW \ |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 126 | SPD823TS \ |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 127 | SXNI855T \ |
Guennadi Liakhovetski | efc6f44 | 2008-01-10 17:59:07 +0100 | [diff] [blame] | 128 | TK885D \ |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 129 | TQM823L \ |
130 | TQM823L_LCD \ | ||||
131 | TQM850L \ | ||||
132 | TQM855L \ | ||||
133 | TQM860L \ | ||||
134 | TQM885D \ | ||||
Kim Phillips | fb56579 | 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 | 9ec49f8 | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 142 | LIST_4xx="$(boards_by_cpu ppc4xx) |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 143 | acadia_nand \ |
Adam Graham | f09f09d | 2008-10-08 10:12:53 -0700 | [diff] [blame] | 144 | arches \ |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 145 | bamboo_nand \ |
Stefan Roese | c813f1f | 2008-03-11 16:53:00 +0100 | [diff] [blame] | 146 | canyonlands \ |
Stefan Roese | 71665eb | 2008-03-03 17:27:02 +0100 | [diff] [blame] | 147 | canyonlands_nand \ |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 148 | CPCI405 \ |
149 | CPCI4052 \ | ||||
150 | CPCI405AB \ | ||||
151 | CPCI405DT \ | ||||
Dirk Eibach | ab4c62c | 2009-07-27 08:49:48 +0200 | [diff] [blame] | 152 | devconcenter \ |
Georg Schardt | 5deb802 | 2008-10-24 13:51:52 +0200 | [diff] [blame] | 153 | fx12mm \ |
Stefan Roese | 4c9e855 | 2008-03-19 16:20:49 +0100 | [diff] [blame] | 154 | glacier \ |
Stefan Roese | 353f268 | 2007-10-23 10:10:08 +0200 | [diff] [blame] | 155 | haleakala \ |
Stefan Roese | 3d6cb3b | 2007-11-03 12:08:28 +0100 | [diff] [blame] | 156 | haleakala_nand \ |
Stefan Roese | 3b3bff4 | 2007-08-14 16:36:29 +0200 | [diff] [blame] | 157 | hcu4 \ |
158 | hcu5 \ | ||||
Dirk Eibach | 4c18836 | 2009-09-09 12:36:07 +0200 | [diff] [blame] | 159 | intip \ |
Stefan Roese | 566806c | 2007-10-05 17:11:30 +0200 | [diff] [blame] | 160 | kilauea \ |
Stefan Roese | 3d6cb3b | 2007-11-03 12:08:28 +0100 | [diff] [blame] | 161 | kilauea_nand \ |
Niklaus Giger | b05f354 | 2008-02-25 18:46:41 +0100 | [diff] [blame] | 162 | mcu25 \ |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 163 | MIP405T \ |
Ricardo Ribalda Delgado | 086511f | 2008-07-17 12:47:09 +0200 | [diff] [blame] | 164 | ml507 \ |
Ricardo Ribalda Delgado | 01a0043 | 2008-07-21 20:30:07 +0200 | [diff] [blame] | 165 | ml507_flash \ |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 166 | OCRTC \ |
167 | ORSG \ | ||||
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 168 | PPChameleonEVB \ |
Stefan Roese | 6da0c5b | 2007-08-16 09:54:51 +0200 | [diff] [blame] | 169 | rainier \ |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 170 | sequoia \ |
171 | sequoia_nand \ | ||||
Ricardo Ribalda Delgado | e07f4a8 | 2008-09-01 13:09:39 -0400 | [diff] [blame] | 172 | v5fx30teval \ |
173 | v5fx30teval_flash \ | ||||
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 174 | W7OLMC \ |
175 | W7OLMG \ | ||||
176 | walnut \ | ||||
Ricardo Ribalda Delgado | e07f4a8 | 2008-09-01 13:09:39 -0400 | [diff] [blame] | 177 | xilinx-ppc440-generic \ |
178 | xilinx-ppc440-generic_flash \ | ||||
Kim Phillips | fb56579 | 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 | 983fda8 | 2004-10-28 00:09:35 +0000 | [diff] [blame] | 184 | ## MPC8220 Systems |
185 | ######################################################################### | ||||
186 | |||||
Mike Frysinger | 9ec49f8 | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 187 | LIST_8220="$(boards_by_cpu mpc8220)" |
wdenk | 983fda8 | 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 | 9ec49f8 | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 193 | LIST_824x="$(boards_by_cpu mpc824x) |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 194 | CPC45 \ |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 195 | eXalion \ |
Heiko Schocher | 3c1d895 | 2009-04-28 07:48:39 +0200 | [diff] [blame] | 196 | IDS8247 \ |
Guennadi Liakhovetski | 61525f2 | 2008-03-31 01:32:15 +0200 | [diff] [blame] | 197 | linkstation_HGLAN \ |
Kim Phillips | fb56579 | 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 | 592c5ca | 2003-06-21 00:17:24 +0000 | [diff] [blame] | 201 | |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 202 | ######################################################################### |
wdenk | 7aa7861 | 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 | 9ec49f8 | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 206 | LIST_8260="$(boards_by_cpu mpc8260) |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 207 | cogent_mpc8260 \ |
208 | CPU86 \ | ||||
209 | CPU87 \ | ||||
210 | ep8248 \ | ||||
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 211 | ISPAN \ |
212 | MPC8260ADS \ | ||||
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 213 | MPC8272ADS \ |
214 | PM826 \ | ||||
215 | PM828 \ | ||||
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 216 | Rattler8248 \ |
Kim Phillips | fb56579 | 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 | f046ccd | 2005-07-28 10:08:46 -0500 | [diff] [blame] | 223 | ## MPC83xx Systems (includes 8349, etc.) |
224 | ######################################################################### | ||||
225 | |||||
Mike Frysinger | 9ec49f8 | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 226 | LIST_83xx="$(boards_by_cpu mpc83xx) |
Reinhard Arlt | 1dee9be | 2009-12-08 09:13:08 +0100 | [diff] [blame] | 227 | caddy2 \ |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 228 | MPC8313ERDB_33 \ |
Nick Spence | 64ac1eb | 2008-09-02 15:21:16 -0500 | [diff] [blame] | 229 | MPC8313ERDB_NAND_66 \ |
Dave Liu | 8bd522c | 2008-01-11 18:48:24 +0800 | [diff] [blame] | 230 | MPC8315ERDB \ |
Anton Vorontsov | 2e95004 | 2009-11-24 20:12:12 +0300 | [diff] [blame] | 231 | MPC8315ERDB_NAND \ |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 232 | MPC832XEMDS \ |
Tony Li | 281df45 | 2007-10-18 17:47:19 +0800 | [diff] [blame] | 233 | MPC832XEMDS_ATM \ |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 234 | MPC8349ITX \ |
235 | MPC8349ITXGP \ | ||||
236 | MPC8360EMDS \ | ||||
Tony Li | 281df45 | 2007-10-18 17:47:19 +0800 | [diff] [blame] | 237 | MPC8360EMDS_ATM \ |
Anton Vorontsov | fab6f55 | 2008-01-09 20:57:47 +0300 | [diff] [blame] | 238 | MPC8360ERDK_33 \ |
239 | MPC8360ERDK_66 \ | ||||
Dave Liu | b21add4 | 2007-09-18 12:40:21 +0800 | [diff] [blame] | 240 | MPC837XEMDS \ |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 241 | sbc8349 \ |
Ron Madrid | 5bb907a | 2009-01-22 15:05:24 -0800 | [diff] [blame] | 242 | SIMPC8313_LP \ |
Reinhard Arlt | c2e49f7 | 2009-07-25 06:19:12 +0200 | [diff] [blame] | 243 | vme8349 \ |
Eran Liberty | f046ccd | 2005-07-28 10:08:46 -0500 | [diff] [blame] | 244 | " |
245 | |||||
246 | |||||
247 | ######################################################################### | ||||
wdenk | 42d1f03 | 2003-10-15 23:53:47 +0000 | [diff] [blame] | 248 | ## MPC85xx Systems (includes 8540, 8560 etc.) |
249 | ######################################################################### | ||||
250 | |||||
Mike Frysinger | 9ec49f8 | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 251 | LIST_85xx="$(boards_by_cpu mpc85xx) |
Kumar Gala | 9490a7f | 2008-07-25 13:31:05 -0500 | [diff] [blame] | 252 | MPC8536DS \ |
Mingkai Hu | 9a1a0ae | 2009-09-23 15:20:37 +0800 | [diff] [blame] | 253 | MPC8536DS_NAND \ |
Mingkai Hu | e40ac48 | 2009-09-23 15:20:38 +0800 | [diff] [blame] | 254 | MPC8536DS_SDCARD \ |
255 | MPC8536DS_SPIFLASH \ | ||||
Becky Bruce | 7030d56 | 2010-06-17 11:37:27 -0500 | [diff] [blame] | 256 | MPC8536DS_36BIT \ |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 257 | MPC8540EVAL \ |
258 | MPC8541CDS \ | ||||
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 259 | MPC8548CDS \ |
260 | MPC8555CDS \ | ||||
Haiying Wang | 765547d | 2009-03-27 17:02:45 -0400 | [diff] [blame] | 261 | MPC8569MDS \ |
Liu Yu | c95d541 | 2009-11-27 15:31:52 +0800 | [diff] [blame] | 262 | MPC8569MDS_ATM \ |
Liu Yu | 674ef7b | 2010-01-18 19:03:28 +0800 | [diff] [blame] | 263 | MPC8569MDS_NAND \ |
Kumar Gala | 129ba61 | 2008-08-12 11:13:08 -0500 | [diff] [blame] | 264 | MPC8572DS \ |
Kumar Gala | 18af1c5 | 2009-01-23 14:22:14 -0600 | [diff] [blame] | 265 | MPC8572DS_36BIT \ |
Srikanth Srinivasan | feb7838 | 2009-04-03 15:36:13 -0500 | [diff] [blame] | 266 | P2020DS \ |
267 | P2020DS_36BIT \ | ||||
Poonam Aggrwal | c17b79f | 2009-08-20 18:59:18 +0530 | [diff] [blame] | 268 | P1011RDB \ |
Dipen Dudhat | f7780ec | 2009-10-08 13:33:18 +0530 | [diff] [blame] | 269 | P1011RDB_NAND \ |
Dipen Dudhat | fad1509 | 2009-10-08 13:33:29 +0530 | [diff] [blame] | 270 | P1011RDB_SDCARD \ |
271 | P1011RDB_SPIFLASH \ | ||||
Poonam Aggrwal | bf488bc | 2009-08-20 18:57:02 +0530 | [diff] [blame] | 272 | P1020RDB \ |
Dipen Dudhat | f7780ec | 2009-10-08 13:33:18 +0530 | [diff] [blame] | 273 | P1020RDB_NAND \ |
Dipen Dudhat | fad1509 | 2009-10-08 13:33:29 +0530 | [diff] [blame] | 274 | P1020RDB_SDCARD \ |
275 | P1020RDB_SPIFLASH \ | ||||
Poonam Aggrwal | c17b79f | 2009-08-20 18:59:18 +0530 | [diff] [blame] | 276 | P2010RDB \ |
Dipen Dudhat | f7780ec | 2009-10-08 13:33:18 +0530 | [diff] [blame] | 277 | P2010RDB_NAND \ |
Dipen Dudhat | fad1509 | 2009-10-08 13:33:29 +0530 | [diff] [blame] | 278 | P2010RDB_SDCARD \ |
279 | P2010RDB_SPIFLASH \ | ||||
Poonam Aggrwal | 728ece3 | 2009-08-05 13:29:24 +0530 | [diff] [blame] | 280 | P2020RDB \ |
Dipen Dudhat | f7780ec | 2009-10-08 13:33:18 +0530 | [diff] [blame] | 281 | P2020RDB_NAND \ |
Dipen Dudhat | fad1509 | 2009-10-08 13:33:29 +0530 | [diff] [blame] | 282 | P2020RDB_SDCARD \ |
283 | P2020RDB_SPIFLASH \ | ||||
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 284 | sbc8540 \ |
Joe Hamman | 11c45eb | 2007-12-13 06:45:08 -0600 | [diff] [blame] | 285 | sbc8548 \ |
Paul Gortmaker | 2738bc8 | 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 | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 290 | sbc8560 \ |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 291 | stxssa \ |
292 | TQM8540 \ | ||||
293 | TQM8541 \ | ||||
Wolfgang Grandegger | 1287e0c | 2008-06-05 13:12:07 +0200 | [diff] [blame] | 294 | TQM8548 \ |
Wolfgang Grandegger | a865bcd | 2009-02-11 18:38:22 +0100 | [diff] [blame] | 295 | TQM8548_AG \ |
Wolfgang Grandegger | ad7ee5d | 2009-02-11 18:38:21 +0100 | [diff] [blame] | 296 | TQM8548_BE \ |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 297 | TQM8555 \ |
298 | TQM8560 \ | ||||
wdenk | 42d1f03 | 2003-10-15 23:53:47 +0000 | [diff] [blame] | 299 | " |
300 | |||||
301 | ######################################################################### | ||||
Jon Loeliger | 822d553 | 2007-05-23 14:09:46 -0500 | [diff] [blame] | 302 | ## MPC86xx Systems |
303 | ######################################################################### | ||||
304 | |||||
Mike Frysinger | 9ec49f8 | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 305 | LIST_86xx="$(boards_by_cpu mpc86xx) |
Becky Bruce | 7030d56 | 2010-06-17 11:37:27 -0500 | [diff] [blame] | 306 | MPC8641HPCN_36BIT \ |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 307 | MPC8641HPCN \ |
Jon Loeliger | 822d553 | 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 | fb56579 | 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 | fb56579 | 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 | d9a42c0 | 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 | a47a12b | 2010-04-15 16:07:28 +0200 | [diff] [blame] | 344 | LIST_powerpc=" \ |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 345 | ${LIST_5xx} \ |
Jean-Christophe PLAGNIOL-VILLARD | 3deca9d | 2007-11-25 22:39:25 +0100 | [diff] [blame] | 346 | ${LIST_512x} \ |
Kim Phillips | fb56579 | 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 | a47a12b | 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 | 9ec49f8 | 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 | fb56579 | 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 | 74f4304 | 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 | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 394 | LIST_ARM9=" \ |
Po-Yu Chuang | 43a5f0d | 2009-11-11 17:27:30 +0800 | [diff] [blame] | 395 | a320evb \ |
Kim Phillips | fb56579 | 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 | 2819e13 | 2009-11-12 11:09:25 -0500 | [diff] [blame] | 406 | da830evm \ |
Sudhakar Rajashekhara | 89b765c | 2010-06-10 15:18:15 +0530 | [diff] [blame] | 407 | da850evm \ |
Matthias Kaehlcke | cf3c142 | 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 | ce9c227 | 2010-06-17 19:38:21 +0530 | [diff] [blame] | 416 | edminiv2 \ |
Siddarth Gore | 16b7670 | 2010-03-18 20:25:40 +0530 | [diff] [blame] | 417 | guruplug \ |
Ilya Yanok | 10bc241 | 2009-08-11 02:32:09 +0400 | [diff] [blame] | 418 | imx27lite \ |
Matthias Weisser | 18a056a | 2010-08-09 13:31:51 +0200 | [diff] [blame] | 419 | jadecpu \ |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 420 | lpd7a400 \ |
Heiko Schocher | bbe3109 | 2010-03-05 07:36:33 +0100 | [diff] [blame] | 421 | magnesium \ |
Prafulla Wadaskar | 4abc5bf | 2009-07-16 20:58:01 +0530 | [diff] [blame] | 422 | mv88f6281gtw_ge \ |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 423 | mx1ads \ |
424 | mx1fs2 \ | ||||
425 | netstar \ | ||||
Jean-Christophe PLAGNIOL-VILLARD | ceb70b4 | 2009-07-05 01:06:06 +0200 | [diff] [blame] | 426 | nhk8815 \ |
427 | nhk8815_onenand \ | ||||
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 428 | omap1510inn \ |
429 | omap1610h2 \ | ||||
430 | omap1610inn \ | ||||
David Brownell | a3543d6 | 2008-01-18 12:45:45 -0800 | [diff] [blame] | 431 | omap5912osk \ |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 432 | omap730p2 \ |
Simon Kagstrom | e92daeb | 2009-09-22 04:01:01 +0530 | [diff] [blame] | 433 | openrd_base \ |
Prafulla Wadaskar | fbc8365 | 2009-07-16 21:02:24 +0530 | [diff] [blame] | 434 | rd6281a \ |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 435 | sbc2410x \ |
436 | scb9328 \ | ||||
Prafulla Wadaskar | 55dd4ba | 2009-07-16 20:58:00 +0530 | [diff] [blame] | 437 | sheevaplug \ |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 438 | smdk2400 \ |
439 | smdk2410 \ | ||||
Vipin KUMAR | 7e07415 | 2010-01-15 19:15:50 +0530 | [diff] [blame] | 440 | spear300 \ |
Vipin KUMAR | 080cfee | 2010-01-15 19:15:52 +0530 | [diff] [blame] | 441 | spear310 \ |
Vipin KUMAR | 7da6923 | 2010-01-15 19:15:53 +0530 | [diff] [blame] | 442 | spear320 \ |
Vipin KUMAR | 566c9c1 | 2010-01-15 19:15:48 +0530 | [diff] [blame] | 443 | spear600 \ |
Heiko Schocher | 67fa8c2 | 2010-02-22 16:43:02 +0530 | [diff] [blame] | 444 | suen3 \ |
Kim Phillips | fb56579 | 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 | c7f879e | 2008-05-21 13:58:41 -0400 | [diff] [blame] | 453 | davinci_sffsdr \ |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 454 | davinci_sonata \ |
David Brownell | 28b0032 | 2009-05-15 23:48:37 +0200 | [diff] [blame] | 455 | davinci_dm355evm \ |
Sandeep Paulraj | 5df65cf | 2009-10-10 13:37:10 -0400 | [diff] [blame] | 456 | davinci_dm355leopard \ |
Sandeep Paulraj | 3fca292 | 2010-02-17 21:09:21 -0500 | [diff] [blame] | 457 | davinci_dm365evm \ |
Sandeep Paulraj | 6ab176d | 2009-10-10 12:00:47 -0400 | [diff] [blame] | 458 | davinci_dm6467evm \ |
wdenk | 6f21347 | 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 | 74f4304 | 2005-09-25 01:48:28 +0200 | [diff] [blame] | 462 | ## ARM10 Systems |
463 | ######################################################################### | ||||
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 464 | LIST_ARM10=" \ |
465 | integratorcp \ | ||||
466 | cp1026 \ | ||||
Wolfgang Denk | 74f4304 | 2005-09-25 01:48:28 +0200 | [diff] [blame] | 467 | " |
468 | |||||
469 | ######################################################################### | ||||
wdenk | 8ed9604 | 2005-01-09 23:16:25 +0000 | [diff] [blame] | 470 | ## ARM11 Systems |
471 | ######################################################################### | ||||
Guennadi Liakhovetski | 0c69267 | 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 | 8449f28 | 2009-07-01 01:07:55 +0200 | [diff] [blame] | 480 | mx31pdk \ |
Magnus Lilja | d08e5ca | 2009-07-04 10:31:24 +0200 | [diff] [blame] | 481 | mx31pdk_nand \ |
Guennadi Liakhovetski | 0c69267 | 2009-03-25 11:36:50 +0100 | [diff] [blame] | 482 | qong \ |
483 | smdk6400 \ | ||||
Cyril Chemparathy | 5cc48f7 | 2010-06-07 14:13:36 -0400 | [diff] [blame] | 484 | tnetv107x_evm \ |
Wolfgang Denk | 74f4304 | 2005-09-25 01:48:28 +0200 | [diff] [blame] | 485 | " |
wdenk | 8ed9604 | 2005-01-09 23:16:25 +0000 | [diff] [blame] | 486 | |
487 | ######################################################################### | ||||
Steve Sakoman | f56348a | 2010-06-17 21:50:01 -0700 | [diff] [blame] | 488 | ## ARMV7 Systems |
Dirk Behme | f904cdb | 2009-01-27 18:19:12 +0100 | [diff] [blame] | 489 | ######################################################################### |
Steve Sakoman | f56348a | 2010-06-17 21:50:01 -0700 | [diff] [blame] | 490 | LIST_ARMV7=" \ |
Vaibhav Hiremath | ed01e45 | 2010-06-07 15:20:43 -0400 | [diff] [blame] | 491 | am3517_evm \ |
Matt Waddel | b80e41a | 2010-10-07 15:48:45 -0600 | [diff] [blame] | 492 | ca9x4_ct_vxp \ |
Frederik Kriewitz | c35d7cf | 2009-08-23 12:56:42 +0200 | [diff] [blame] | 493 | devkit8000 \ |
Enric Balletbo i Serra | 8a3f6bb | 2010-10-14 16:54:59 -0400 | [diff] [blame^] | 494 | igep0020 \ |
Stefano Babic | c5fb70c | 2010-02-05 15:13:58 +0100 | [diff] [blame] | 495 | mx51evk \ |
Dirk Behme | f904cdb | 2009-01-27 18:19:12 +0100 | [diff] [blame] | 496 | omap3_beagle \ |
Dirk Behme | 9d0fc81 | 2009-01-28 21:39:57 +0100 | [diff] [blame] | 497 | omap3_overo \ |
Dirk Behme | ad9bc8e | 2009-01-28 21:39:58 +0100 | [diff] [blame] | 498 | omap3_evm \ |
Dirk Behme | 2be2c6c | 2009-01-28 21:39:58 +0100 | [diff] [blame] | 499 | omap3_pandora \ |
Tom Rix | e63e590 | 2009-10-17 12:41:06 -0500 | [diff] [blame] | 500 | omap3_sdp3430 \ |
Dirk Behme | 7379f45 | 2009-01-28 21:40:16 +0100 | [diff] [blame] | 501 | omap3_zoom1 \ |
Tom Rix | 376aee7 | 2009-05-15 23:48:36 +0200 | [diff] [blame] | 502 | omap3_zoom2 \ |
Steve Sakoman | c57cca2 | 2010-06-11 20:35:26 -0700 | [diff] [blame] | 503 | omap4_panda \ |
Steve Sakoman | 3e76d62 | 2010-06-08 13:07:46 -0700 | [diff] [blame] | 504 | omap4_sdp4430 \ |
Minkyu Kang | c474a8e | 2010-05-31 22:02:42 +0900 | [diff] [blame] | 505 | s5p_goni \ |
Minkyu Kang | 8bc4ee9 | 2009-10-01 17:20:40 +0900 | [diff] [blame] | 506 | smdkc100 \ |
Dirk Behme | f904cdb | 2009-01-27 18:19:12 +0100 | [diff] [blame] | 507 | " |
508 | |||||
509 | ######################################################################### | ||||
Jean-Christophe PLAGNIOL-VILLARD | 602cac1 | 2008-05-24 12:47:46 +0200 | [diff] [blame] | 510 | ## AT91 Systems |
511 | ######################################################################### | ||||
512 | |||||
Sedji Gaouaou | 22ee647 | 2009-07-09 10:16:29 +0200 | [diff] [blame] | 513 | LIST_at91=" \ |
514 | afeb9260 \ | ||||
515 | at91cap9adk \ | ||||
516 | at91rm9200dk \ | ||||
517 | at91rm9200ek \ | ||||
518 | at91sam9260ek \ | ||||
519 | at91sam9261ek \ | ||||
520 | at91sam9263ek \ | ||||
Tom Rix | d8380c9 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 521 | at91sam9g10ek \ |
Sedji Gaouaou | 22ee647 | 2009-07-09 10:16:29 +0200 | [diff] [blame] | 522 | at91sam9g20ek \ |
Sedji Gaouaou | 5ccc2d9 | 2009-06-25 17:04:15 +0200 | [diff] [blame] | 523 | at91sam9m10g45ek \ |
Sedji Gaouaou | 22ee647 | 2009-07-09 10:16:29 +0200 | [diff] [blame] | 524 | at91sam9rlek \ |
525 | cmc_pu2 \ | ||||
Tom Rix | d8380c9 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 526 | CPUAT91 \ |
Tom Rix | 23b8098 | 2009-09-27 11:10:09 -0500 | [diff] [blame] | 527 | CPU9260 \ |
528 | CPU9G20 \ | ||||
Sedji Gaouaou | 22ee647 | 2009-07-09 10:16:29 +0200 | [diff] [blame] | 529 | csb637 \ |
Jens Scharsig | 77e7273 | 2010-02-03 22:48:09 +0100 | [diff] [blame] | 530 | eb_cpux9k2 \ |
Sedji Gaouaou | 22ee647 | 2009-07-09 10:16:29 +0200 | [diff] [blame] | 531 | kb9202 \ |
532 | meesc \ | ||||
533 | mp2usb \ | ||||
534 | m501sk \ | ||||
Daniel Gorsulowski | 44d8025 | 2010-01-25 10:50:41 +0100 | [diff] [blame] | 535 | otc570 \ |
Sedji Gaouaou | 22ee647 | 2009-07-09 10:16:29 +0200 | [diff] [blame] | 536 | pm9261 \ |
537 | pm9263 \ | ||||
Asen Dimov | b5d289f | 2010-04-20 22:49:04 +0300 | [diff] [blame] | 538 | pm9g45 \ |
Albin Tonnerre | 2dc851e | 2009-08-20 16:04:49 +0200 | [diff] [blame] | 539 | SBC35_A9G20 \ |
540 | TNY_A9260 \ | ||||
541 | TNY_A9G20 \ | ||||
Jean-Christophe PLAGNIOL-VILLARD | 602cac1 | 2008-05-24 12:47:46 +0200 | [diff] [blame] | 542 | " |
543 | |||||
544 | ######################################################################### | ||||
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 545 | ## Xscale Systems |
546 | ######################################################################### | ||||
547 | |||||
Mike Frysinger | 9ec49f8 | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 548 | LIST_pxa="$(boards_by_cpu pxa) |
Stefano Babic | 040f8f6 | 2009-07-01 20:40:41 +0200 | [diff] [blame] | 549 | polaris \ |
Stefano Babic | 040f8f6 | 2009-07-01 20:40:41 +0200 | [diff] [blame] | 550 | trizepsiv \ |
Marek Vasut | 18a00df | 2010-03-07 23:35:48 +0100 | [diff] [blame] | 551 | vpac270_nor \ |
552 | vpac270_onenand \ | ||||
wdenk | 4ec3a7f | 2004-09-28 16:44:41 +0000 | [diff] [blame] | 553 | " |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 554 | |
Mike Frysinger | 9ec49f8 | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 555 | LIST_ixp="$(boards_by_cpu ixp) |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 556 | pdnb3 \ |
557 | scpu \ | ||||
558 | " | ||||
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 559 | |
Wolfgang Denk | d9a42c0 | 2008-04-20 15:35:52 -0700 | [diff] [blame] | 560 | ######################################################################### |
561 | ## ARM groups | ||||
562 | ######################################################################### | ||||
wdenk | 2d5b561 | 2003-10-14 19:43:55 +0000 | [diff] [blame] | 563 | |
Dirk Behme | f904cdb | 2009-01-27 18:19:12 +0100 | [diff] [blame] | 564 | LIST_arm=" \ |
565 | ${LIST_SA} \ | ||||
566 | ${LIST_ARM7} \ | ||||
567 | ${LIST_ARM9} \ | ||||
568 | ${LIST_ARM10} \ | ||||
569 | ${LIST_ARM11} \ | ||||
Steve Sakoman | f56348a | 2010-06-17 21:50:01 -0700 | [diff] [blame] | 570 | ${LIST_ARMV7} \ |
Dirk Behme | f904cdb | 2009-01-27 18:19:12 +0100 | [diff] [blame] | 571 | ${LIST_at91} \ |
572 | ${LIST_pxa} \ | ||||
573 | ${LIST_ixp} \ | ||||
wdenk | 8ed9604 | 2005-01-09 23:16:25 +0000 | [diff] [blame] | 574 | " |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 575 | |
wdenk | c021880 | 2003-03-27 12:09:35 +0000 | [diff] [blame] | 576 | ######################################################################### |
Wolfgang Denk | b62bdff | 2005-08-14 00:27:00 +0200 | [diff] [blame] | 577 | ## MIPS Systems (default = big endian) |
wdenk | c021880 | 2003-03-27 12:09:35 +0000 | [diff] [blame] | 578 | ######################################################################### |
579 | |||||
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 580 | LIST_mips4kc=" \ |
581 | incaip \ | ||||
Vlad Lungu | 0764c16 | 2008-01-16 19:27:51 +0200 | [diff] [blame] | 582 | qemu_mips \ |
Stefan Roese | 2a61eff | 2009-01-21 17:25:01 +0100 | [diff] [blame] | 583 | vct_platinum \ |
584 | vct_platinum_small \ | ||||
585 | vct_platinum_onenand \ | ||||
586 | vct_platinum_onenand_small \ | ||||
587 | vct_platinumavc \ | ||||
588 | vct_platinumavc_small \ | ||||
589 | vct_platinumavc_onenand \ | ||||
590 | vct_platinumavc_onenand_small \ | ||||
591 | vct_premium \ | ||||
592 | vct_premium_small \ | ||||
593 | vct_premium_onenand \ | ||||
594 | vct_premium_onenand_small \ | ||||
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 595 | " |
wdenk | c021880 | 2003-03-27 12:09:35 +0000 | [diff] [blame] | 596 | |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 597 | LIST_mips5kc=" \ |
598 | purple \ | ||||
599 | " | ||||
wdenk | 3e38691 | 2003-04-05 00:53:31 +0000 | [diff] [blame] | 600 | |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 601 | LIST_au1xx0=" \ |
602 | dbau1000 \ | ||||
603 | dbau1100 \ | ||||
604 | dbau1500 \ | ||||
605 | dbau1550 \ | ||||
606 | dbau1550_el \ | ||||
607 | gth2 \ | ||||
608 | " | ||||
wdenk | 5da627a | 2003-10-09 20:09:04 +0000 | [diff] [blame] | 609 | |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 610 | LIST_mips=" \ |
611 | ${LIST_mips4kc} \ | ||||
612 | ${LIST_mips5kc} \ | ||||
613 | ${LIST_au1xx0} \ | ||||
614 | " | ||||
wdenk | c021880 | 2003-03-27 12:09:35 +0000 | [diff] [blame] | 615 | |
wdenk | 7a8e9bed | 2003-05-31 18:35:21 +0000 | [diff] [blame] | 616 | ######################################################################### |
Wolfgang Denk | b62bdff | 2005-08-14 00:27:00 +0200 | [diff] [blame] | 617 | ## MIPS Systems (little endian) |
618 | ######################################################################### | ||||
619 | |||||
620 | LIST_mips4kc_el="" | ||||
621 | |||||
622 | LIST_mips5kc_el="" | ||||
623 | |||||
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 624 | LIST_au1xx0_el=" \ |
625 | dbau1550_el \ | ||||
Shinya Kuribayashi | b09258c | 2007-10-27 15:00:25 +0900 | [diff] [blame] | 626 | pb1000 \ |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 627 | " |
Wolfgang Denk | b62bdff | 2005-08-14 00:27:00 +0200 | [diff] [blame] | 628 | |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 629 | LIST_mips_el=" \ |
630 | ${LIST_mips4kc_el} \ | ||||
631 | ${LIST_mips5kc_el} \ | ||||
632 | ${LIST_au1xx0_el} \ | ||||
633 | " | ||||
Wolfgang Denk | b62bdff | 2005-08-14 00:27:00 +0200 | [diff] [blame] | 634 | |
635 | ######################################################################### | ||||
wdenk | 7a8e9bed | 2003-05-31 18:35:21 +0000 | [diff] [blame] | 636 | ## i386 Systems |
637 | ######################################################################### | ||||
638 | |||||
Mike Frysinger | 9ec49f8 | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 639 | LIST_x86="$(boards_by_arch i386) |
Graeme Russ | c620c01 | 2008-12-07 10:28:57 +1100 | [diff] [blame] | 640 | sc520_eNET \ |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 641 | " |
wdenk | 7a8e9bed | 2003-05-31 18:35:21 +0000 | [diff] [blame] | 642 | |
wdenk | c935d3b | 2004-01-03 19:43:48 +0000 | [diff] [blame] | 643 | ######################################################################### |
wdenk | 5c952cf | 2004-10-10 21:27:30 +0000 | [diff] [blame] | 644 | ## Nios-II Systems |
645 | ######################################################################### | ||||
646 | |||||
Mike Frysinger | 9ec49f8 | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 647 | LIST_nios2="$(boards_by_arch nios2) |
Thomas Chou | 8cbb0dd | 2010-04-21 08:40:59 +0800 | [diff] [blame] | 648 | nios2-generic \ |
Wolfgang Denk | 4176c79 | 2006-06-10 19:27:47 +0200 | [diff] [blame] | 649 | " |
wdenk | 5c952cf | 2004-10-10 21:27:30 +0000 | [diff] [blame] | 650 | |
651 | ######################################################################### | ||||
wdenk | 857cad3 | 2004-07-10 23:48:41 +0000 | [diff] [blame] | 652 | ## MicroBlaze Systems |
653 | ######################################################################### | ||||
654 | |||||
Mike Frysinger | 9ec49f8 | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 655 | LIST_microblaze="$(boards_by_arch microblaze)" |
wdenk | 857cad3 | 2004-07-10 23:48:41 +0000 | [diff] [blame] | 656 | |
Zachary P. Landau | f8c3b4f | 2006-01-26 17:38:46 -0500 | [diff] [blame] | 657 | ######################################################################### |
658 | ## ColdFire Systems | ||||
659 | ######################################################################### | ||||
660 | |||||
Mike Frysinger | 9ec49f8 | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 661 | LIST_coldfire="$(boards_by_arch m68k) |
Wolfgang Wegner | 9d79e57 | 2010-01-25 11:27:44 +0100 | [diff] [blame] | 662 | astro_mcf5373l \ |
Kim Phillips | fb56579 | 2007-08-10 15:34:48 -0500 | [diff] [blame] | 663 | cobra5272 \ |
664 | EB+MCF-EV123 \ | ||||
665 | EB+MCF-EV123_internal \ | ||||
TsiChungLiew | 1552af7 | 2008-01-14 17:43:33 -0600 | [diff] [blame] | 666 | M52277EVB \ |
TsiChungLiew | 4a442d3 | 2007-08-16 19:23:50 -0500 | [diff] [blame] | 667 | M5235EVB \ |
TsiChungLiew | aa5f1f9 | 2008-01-14 17:23:08 -0600 | [diff] [blame] | 668 | M5329AFEE \ |
669 | M5373EVB \ | ||||
TsiChung Liew | 05316f8 | 2008-08-11 13:41:49 +0000 | [diff] [blame] | 670 | M54451EVB \ |
TsiChungLiew | 8ae158c | 2007-08-16 15:05:11 -0500 | [diff] [blame] | 671 | M54455EVB \ |
TsiChungLiew | 57a1272 | 2008-01-15 14:15:46 -0600 | [diff] [blame] | 672 | M5475AFE \ |
673 | M5485AFE \ | ||||
Heiko Schocher | 9acb626 | 2006-04-20 08:42:42 +0200 | [diff] [blame] | 674 | " |
Zachary P. Landau | f8c3b4f | 2006-01-26 17:38:46 -0500 | [diff] [blame] | 675 | |
Wolfgang Denk | 6ccec44 | 2006-10-24 14:42:37 +0200 | [diff] [blame] | 676 | ######################################################################### |
677 | ## AVR32 Systems | ||||
678 | ######################################################################### | ||||
679 | |||||
Mike Frysinger | 9ec49f8 | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 680 | LIST_avr32="$(boards_by_arch avr32)" |
Wolfgang Denk | 6ccec44 | 2006-10-24 14:42:37 +0200 | [diff] [blame] | 681 | |
Aubrey.Li | ef26a08 | 2007-03-09 13:40:56 +0800 | [diff] [blame] | 682 | ######################################################################### |
683 | ## Blackfin Systems | ||||
684 | ######################################################################### | ||||
685 | |||||
Mike Frysinger | 9ec49f8 | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 686 | LIST_blackfin="$(boards_by_arch blackfin) |
687 | bf527-ezkit-v2 | ||||
Aubrey.Li | ef26a08 | 2007-03-09 13:40:56 +0800 | [diff] [blame] | 688 | " |
689 | |||||
Jean-Christophe PLAGNIOL-VILLARD | c714437 | 2007-11-27 09:44:53 +0100 | [diff] [blame] | 690 | ######################################################################### |
691 | ## SH Systems | ||||
692 | ######################################################################### | ||||
693 | |||||
Nobuhiro Iwamatsu | c655fad | 2008-08-31 23:02:04 +0900 | [diff] [blame] | 694 | LIST_sh2=" \ |
695 | rsk7203 \ | ||||
696 | " | ||||
Wolfgang Denk | d9a42c0 | 2008-04-20 15:35:52 -0700 | [diff] [blame] | 697 | LIST_sh3=" \ |
698 | mpr2 \ | ||||
699 | ms7720se \ | ||||
700 | " | ||||
701 | |||||
Jean-Christophe PLAGNIOL-VILLARD | c714437 | 2007-11-27 09:44:53 +0100 | [diff] [blame] | 702 | LIST_sh4=" \ |
Nobuhiro Iwamatsu | aa9c4f1 | 2007-11-29 00:13:04 +0900 | [diff] [blame] | 703 | ms7750se \ |
Jean-Christophe PLAGNIOL-VILLARD | c714437 | 2007-11-27 09:44:53 +0100 | [diff] [blame] | 704 | ms7722se \ |
Nobuhiro Iwamatsu | 9e23fe0 | 2008-07-08 12:03:24 +0900 | [diff] [blame] | 705 | MigoR \ |
Yusuke Goda | c133c1f | 2008-03-11 12:55:12 +0900 | [diff] [blame] | 706 | r7780mp \ |
Nobuhiro Iwamatsu | f5e2466 | 2008-03-25 17:11:24 +0900 | [diff] [blame] | 707 | r2dplus \ |
Nobuhiro Iwamatsu | 7faddae | 2008-06-09 13:39:57 +0900 | [diff] [blame] | 708 | sh7763rdp \ |
Nobuhiro Iwamatsu | 0d53a47 | 2008-08-31 22:45:08 +0900 | [diff] [blame] | 709 | sh7785lcr \ |
Nobuhiro Iwamatsu | 6f0da49 | 2008-08-22 17:39:09 +0900 | [diff] [blame] | 710 | ap325rxa \ |
Nobuhiro Iwamatsu | 74d9c16 | 2009-06-25 16:31:26 +0900 | [diff] [blame] | 711 | espt \ |
Jean-Christophe PLAGNIOL-VILLARD | c714437 | 2007-11-27 09:44:53 +0100 | [diff] [blame] | 712 | " |
713 | |||||
Jean-Christophe PLAGNIOL-VILLARD | c714437 | 2007-11-27 09:44:53 +0100 | [diff] [blame] | 714 | LIST_sh=" \ |
Nobuhiro Iwamatsu | 6f0da49 | 2008-08-22 17:39:09 +0900 | [diff] [blame] | 715 | ${LIST_sh2} \ |
Jean-Christophe PLAGNIOL-VILLARD | c714437 | 2007-11-27 09:44:53 +0100 | [diff] [blame] | 716 | ${LIST_sh3} \ |
717 | ${LIST_sh4} \ | ||||
718 | " | ||||
719 | |||||
Daniel Hellstrom | c2f02da | 2008-03-28 09:47:00 +0100 | [diff] [blame] | 720 | ######################################################################### |
721 | ## SPARC Systems | ||||
722 | ######################################################################### | ||||
723 | |||||
Mike Frysinger | 9ec49f8 | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 724 | LIST_sparc="$(boards_by_arch sparc)" |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 725 | |
726 | #----------------------------------------------------------------------- | ||||
727 | |||||
728 | build_target() { | ||||
729 | target=$1 | ||||
730 | |||||
731 | ${MAKE} distclean >/dev/null | ||||
Kim Phillips | d70d8cc | 2010-09-14 14:48:16 -0500 | [diff] [blame] | 732 | ${MAKE} -s ${target}_config |
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 733 | |
734 | ${MAKE} ${JOBS} all 2>&1 >${LOG_DIR}/$target.MAKELOG \ | ||||
735 | | tee ${LOG_DIR}/$target.ERR | ||||
Peter Tyser | f235287 | 2009-12-06 23:58:28 -0600 | [diff] [blame] | 736 | |
737 | # Check for 'make' errors | ||||
738 | if [ ${PIPESTATUS[0]} -ne 0 ] ; then | ||||
739 | RC=1 | ||||
740 | fi | ||||
741 | |||||
Peter Tyser | 40a28f0 | 2009-09-21 12:04:32 -0500 | [diff] [blame] | 742 | if [ -s ${LOG_DIR}/$target.ERR ] ; then |
743 | ERR_CNT=$((ERR_CNT + 1)) | ||||
744 | ERR_LIST="${ERR_LIST} $target" | ||||
745 | else | ||||
746 | rm ${LOG_DIR}/$target.ERR | ||||
747 | fi | ||||
748 | |||||
749 | TOTAL_CNT=$((TOTAL_CNT + 1)) | ||||
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 750 | |
Mike Frysinger | 208447f | 2008-01-28 05:56:19 -0500 | [diff] [blame] | 751 | ${CROSS_COMPILE}size ${BUILD_DIR}/u-boot \ |
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 752 | | tee -a ${LOG_DIR}/$target.MAKELOG |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 753 | } |
Mike Frysinger | 9ec49f8 | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 754 | build_targets() { |
755 | for t in "$@" ; do | ||||
756 | # If a LIST_xxx var exists, use it. But avoid variable | ||||
757 | # expansion in the eval when a board name contains certain | ||||
758 | # characters that the shell interprets. | ||||
759 | case ${t} in | ||||
760 | *[-+=]*) list= ;; | ||||
761 | *) list=$(eval echo '${LIST_'$t'}') ;; | ||||
762 | esac | ||||
763 | if [ -n "${list}" ] ; then | ||||
764 | build_targets ${list} | ||||
765 | else | ||||
766 | build_target ${t} | ||||
767 | fi | ||||
768 | done | ||||
769 | } | ||||
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 770 | |
771 | #----------------------------------------------------------------------- | ||||
772 | |||||
Peter Tyser | 40a28f0 | 2009-09-21 12:04:32 -0500 | [diff] [blame] | 773 | print_stats() { |
774 | echo "" | ||||
775 | echo "--------------------- SUMMARY ----------------------------" | ||||
776 | echo "Boards compiled: ${TOTAL_CNT}" | ||||
777 | if [ ${ERR_CNT} -gt 0 ] ; then | ||||
778 | echo "Boards with warnings or errors: ${ERR_CNT} (${ERR_LIST} )" | ||||
779 | fi | ||||
780 | echo "----------------------------------------------------------" | ||||
Peter Tyser | f235287 | 2009-12-06 23:58:28 -0600 | [diff] [blame] | 781 | |
782 | exit $RC | ||||
Peter Tyser | 40a28f0 | 2009-09-21 12:04:32 -0500 | [diff] [blame] | 783 | } |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 784 | |
Peter Tyser | 40a28f0 | 2009-09-21 12:04:32 -0500 | [diff] [blame] | 785 | #----------------------------------------------------------------------- |
Mike Frysinger | 9ec49f8 | 2010-08-19 13:05:06 -0400 | [diff] [blame] | 786 | |
787 | #----- for now, just run PowerPC by default ----- | ||||
788 | [ $# = 0 ] && set -- powerpc | ||||
789 | |||||
790 | build_targets "$@" |