mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-31 05:51:53 -06: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="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…
Add table
Add a link
Reference in a new issue