diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-05-16 20:10:58 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2022-03-06 13:15:42 +0100 |
commit | be0d87acae0915766d4790c18c0368b9508398ac (patch) | |
tree | 0a60c930305ff9dc8fe196b354473e3aa216eab9 | |
parent | f9a6bcce02e457dadb7288e825cc3c44101afd90 (diff) | |
download | qemu-be0d87acae0915766d4790c18c0368b9508398ac.zip qemu-be0d87acae0915766d4790c18c0368b9508398ac.tar.gz qemu-be0d87acae0915766d4790c18c0368b9508398ac.tar.bz2 |
accel/meson: Only build hw virtualization with system emulation
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220207075426.81934-3-f4bug@amsat.org>
-rw-r--r-- | accel/meson.build | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/accel/meson.build b/accel/meson.build index dfd808d..b9a963c 100644 --- a/accel/meson.build +++ b/accel/meson.build @@ -2,12 +2,14 @@ specific_ss.add(files('accel-common.c')) softmmu_ss.add(files('accel-softmmu.c')) user_ss.add(files('accel-user.c')) -subdir('hvf') -subdir('qtest') -subdir('kvm') subdir('tcg') -subdir('xen') -subdir('stubs') +if have_system + subdir('hvf') + subdir('qtest') + subdir('kvm') + subdir('xen') + subdir('stubs') +endif dummy_ss = ss.source_set() dummy_ss.add(files( |