diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2010-05-26 16:08:16 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-06-10 00:09:48 +0200 |
commit | a447d4dc5607176a70361aed9361e1b63dc67ec9 (patch) | |
tree | 9059edc22a1e5a478b47f8bcc55ae4e7773da07b | |
parent | 4021d2476c61ff101f97b6642d1fbb3c34844091 (diff) |
configure: bail out early on invalid -cpu option
It would fail later anyway.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
-rwxr-xr-x | configure | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -232,7 +232,8 @@ case "$cpu" in cpu="sparc" ;; *) - cpu="unknown" + echo "Unsupported CPU = $cpu" + exit 1 ;; esac @@ -2068,10 +2069,6 @@ case "$cpu" in armv4b|armv4l) ARCH=arm ;; - *) - echo "Unsupported CPU = $cpu" - exit 1 - ;; esac echo "ARCH=$ARCH" >> $config_host_mak if test "$debug_tcg" = "yes" ; then |