mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 13:30:52 +00:00
d57bc3c109
Until now, Hypervisor.framework has only been available on x86_64 systems. With Apple Silicon shipping now, it extends its reach to aarch64. To prepare for support for multiple architectures, let's start moving common code out into its own accel directory. This patch moves assert_hvf_ok() and introduces generic build infrastructure. Signed-off-by: Alexander Graf <agraf@csgraf.de> Reviewed-by: Sergio Lopez <slp@redhat.com> Message-id: 20210519202253.76782-2-agraf@csgraf.de Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
19 lines
418 B
Meson
19 lines
418 B
Meson
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')
|
|
|
|
dummy_ss = ss.source_set()
|
|
dummy_ss.add(files(
|
|
'dummy-cpus.c',
|
|
))
|
|
|
|
specific_ss.add_all(when: ['CONFIG_SOFTMMU', 'CONFIG_POSIX'], if_true: dummy_ss)
|
|
specific_ss.add_all(when: ['CONFIG_XEN'], if_true: dummy_ss)
|