aboutsummaryrefslogtreecommitdiff
path: root/package/gnuconfig/config.sub
diff options
context:
space:
mode:
authorGravatar Maxim Grigoriev <maxim2405@gmail.com>2009-07-24 02:13:28 +0200
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2009-07-24 02:13:28 +0200
commitcd0b1ce3b7934c631477ad3262316199b73cce89 (patch)
tree6199e12112360fcbcda73c09f5c51fc05b9bc7d8 /package/gnuconfig/config.sub
parent6b27f42180f7d8d833aa1c1abc47d108de2a796c (diff)
downloadbuildroot-cd0b1ce3b7934c631477ad3262316199b73cce89.tar.gz
buildroot-cd0b1ce3b7934c631477ad3262316199b73cce89.tar.bz2
package/gnuconfig: xtensa support
Part of #163. Signed-off-by: Maxim Grigoriev <maxim2405@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/gnuconfig/config.sub')
-rwxr-xr-xpackage/gnuconfig/config.sub6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/gnuconfig/config.sub b/package/gnuconfig/config.sub
index 392e21fc20..efbb230f47 100755
--- a/package/gnuconfig/config.sub
+++ b/package/gnuconfig/config.sub
@@ -370,10 +370,14 @@ case $basic_machine in
| v850-* | v850e-* | vax-* \
| we32k-* \
| x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
- | xstormy16-* | xtensa-* \
+ | xstormy16-* | xtensa*-* \
| ymp-* \
| z8k-*)
;;
+ # Recognize the basic CPU types without company name, with glob match.
+ xtensa*)
+ basic_machine=$basic_machine-unknown
+ ;;
# Recognize the various machine names and aliases which stand
# for a CPU type and a company and sometimes even an OS.
386bsd)