Commit 1ce1b28
xtensa-build-all.sh: do not fallback on gcc when xcc dir is wrong
If the user requested the Cadence toolchain by defining
$XTENSA_TOOLS_ROOT, then do not "correct" the user and fallback on gcc
when that variable is wrong. Fail and point at the problem instead. No
one ever pays attention to build logs; as shown by new warnings being
submitted on a regular basis.
This also removes the local variable "XCC", the name of which was
collision-prone and confusingly capitalized.
Signed-off-by: Marc Herbert <marc.herbert@intel.com>1 parent 8236f38 commit 1ce1b28
1 file changed
Lines changed: 5 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
222 | 217 | | |
223 | 218 | | |
224 | 219 | | |
225 | 220 | | |
226 | 221 | | |
227 | 222 | | |
228 | | - | |
| 223 | + | |
229 | 224 | | |
230 | 225 | | |
231 | 226 | | |
| |||
0 commit comments