diff options
author | Anthony Liguori | 2012-09-14 15:17:03 +0200 |
---|---|---|
committer | Anthony Liguori | 2012-09-17 17:18:48 +0200 |
commit | 121afa9e0c02617c2a774996512e4f85f3e93da8 (patch) | |
tree | f4716e0a86982b00f732ee4593d30426b3b7e4c6 /configure | |
parent | cpu_physical_memory_write_rom() needs to do TB invalidates (diff) | |
download | qemu-121afa9e0c02617c2a774996512e4f85f3e93da8.tar.gz qemu-121afa9e0c02617c2a774996512e4f85f3e93da8.tar.xz qemu-121afa9e0c02617c2a774996512e4f85f3e93da8.zip |
Revert "Add ability to disable build of all targets"
This reverts commit 66d5499b3754b83c09487259c08fe2ce73188a59.
This commit broke --target-list="x86_64-softmmu" and the fix isn't immediatley
obvious.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -126,7 +126,7 @@ cc_i386=i386-pc-linux-gnu-gcc libs_qga="" debug_info="yes" -target_list="DEFAULT" +target_list="" # Default value for a variable defining feature "foo". # * foo="no" feature will only be used if --enable-foo arg is given @@ -1319,10 +1319,15 @@ if ! "$python" -c 'import sys; sys.exit(sys.version_info < (2,4) or sys.version_ exit 1 fi -if test "$target_list" = "DEFAULT" ; then - target_list=`echo "$default_target_list" | sed -e 's/,/ /g'` +if test -z "$target_list" ; then + target_list="$default_target_list" +else + target_list=`echo "$target_list" | sed -e 's/,/ /g'` +fi +if test -z "$target_list" ; then + echo "No targets enabled" + exit 1 fi - # see if system emulation was really requested case " $target_list " in *"-softmmu "*) softmmu=yes |