diff options
author | Paolo Bonzini | 2020-12-14 12:01:45 +0100 |
---|---|---|
committer | Paolo Bonzini | 2021-01-21 13:00:41 +0100 |
commit | 23a77b2d18b84e410478e88f11c54911f7a649fc (patch) | |
tree | 179c892400c4f5a78c8c585000e2b6dfd984af54 /configure | |
parent | x86/cpu: Use max host physical address if -cpu max option is applied (diff) | |
download | qemu-23a77b2d18b84e410478e88f11c54911f7a649fc.tar.gz qemu-23a77b2d18b84e410478e88f11c54911f7a649fc.tar.xz qemu-23a77b2d18b84e410478e88f11c54911f7a649fc.zip |
build-system: clean up TCG/TCI configury
Make CONFIG_TCG_INTERPRETER a Meson option, and enable TCI (though with
a warning) if the host CPU is unsupported, making it more similar to
other --enable-* options.
Remove TCG-specific include paths from !CONFIG_TCG builds.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -359,7 +359,7 @@ sanitizers="no" tsan="no" fortify_source="$default_feature" strip_opt="yes" -tcg_interpreter="no" +tcg_interpreter="false" bigendian="no" mingw32="no" gcov="no" @@ -1119,9 +1119,9 @@ for opt do ;; --enable-whpx) whpx="enabled" ;; - --disable-tcg-interpreter) tcg_interpreter="no" + --disable-tcg-interpreter) tcg_interpreter="true" ;; - --enable-tcg-interpreter) tcg_interpreter="yes" + --enable-tcg-interpreter) tcg_interpreter="false" ;; --disable-cap-ng) cap_ng="disabled" ;; @@ -5834,11 +5834,6 @@ fi if test "$optreset" = "yes" ; then echo "HAVE_OPTRESET=y" >> $config_host_mak fi -if test "$tcg" = "enabled"; then - if test "$tcg_interpreter" = "yes" ; then - echo "CONFIG_TCG_INTERPRETER=y" >> $config_host_mak - fi -fi if test "$fdatasync" = "yes" ; then echo "CONFIG_FDATASYNC=y" >> $config_host_mak fi |