diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2022-02-03 18:32:36 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2022-03-06 13:15:42 +0100 |
commit | f9a6bcce02e457dadb7288e825cc3c44101afd90 (patch) | |
tree | f062b649c69151fc7c9750c24fa794902d927a1f | |
parent | 9d662a6b22a0838a85c5432385f35db2488a33a5 (diff) | |
download | qemu-f9a6bcce02e457dadb7288e825cc3c44101afd90.zip qemu-f9a6bcce02e457dadb7288e825cc3c44101afd90.tar.gz qemu-f9a6bcce02e457dadb7288e825cc3c44101afd90.tar.bz2 |
accel: Restrict sysemu stubs to system emulation
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220207075426.81934-2-f4bug@amsat.org>
-rw-r--r-- | accel/stubs/meson.build | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/accel/stubs/meson.build b/accel/stubs/meson.build index 12dd153..0249b92 100644 --- a/accel/stubs/meson.build +++ b/accel/stubs/meson.build @@ -1,4 +1,7 @@ -specific_ss.add(when: 'CONFIG_HAX', if_false: files('hax-stub.c')) -specific_ss.add(when: 'CONFIG_XEN', if_false: files('xen-stub.c')) -specific_ss.add(when: 'CONFIG_KVM', if_false: files('kvm-stub.c')) -specific_ss.add(when: 'CONFIG_TCG', if_false: files('tcg-stub.c')) +sysemu_stubs_ss = ss.source_set() +sysemu_stubs_ss.add(when: 'CONFIG_HAX', if_false: files('hax-stub.c')) +sysemu_stubs_ss.add(when: 'CONFIG_XEN', if_false: files('xen-stub.c')) +sysemu_stubs_ss.add(when: 'CONFIG_KVM', if_false: files('kvm-stub.c')) +sysemu_stubs_ss.add(when: 'CONFIG_TCG', if_false: files('tcg-stub.c')) + +specific_ss.add_all(when: ['CONFIG_SOFTMMU'], if_true: sysemu_stubs_ss) |