projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a73a1c
)
configure: bail out early on invalid -cpu option
author
Paolo Bonzini
<pbonzini@redhat.com>
Wed, 26 May 2010 14:08:16 +0000
(16:08 +0200)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Wed, 9 Jun 2010 22:09:48 +0000
(
00:09
+0200)
It would fail later anyway.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index 8d3084a72fa813ae1422afc8292e0555b4a57aaf..1d4f1e42353c31912ab565be85e99968449a458c 100755
(executable)
--- a/
configure
+++ b/
configure
@@
-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