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>
This commit is contained in:
parent
4021d2476c
commit
a447d4dc56
7
configure
vendored
7
configure
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user