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="sparc"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
cpu="unknown"
|
echo "Unsupported CPU = $cpu"
|
||||||
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@ -2068,10 +2069,6 @@ case "$cpu" in
|
|||||||
armv4b|armv4l)
|
armv4b|armv4l)
|
||||||
ARCH=arm
|
ARCH=arm
|
||||||
;;
|
;;
|
||||||
*)
|
|
||||||
echo "Unsupported CPU = $cpu"
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
echo "ARCH=$ARCH" >> $config_host_mak
|
echo "ARCH=$ARCH" >> $config_host_mak
|
||||||
if test "$debug_tcg" = "yes" ; then
|
if test "$debug_tcg" = "yes" ; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user