mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
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
1 changed files with 2 additions and 5 deletions
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 a new issue