diff options
author | Alexander Graf <agraf@csgraf.de> | 2021-06-03 14:09:30 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2021-06-03 16:43:26 +0100 |
commit | d57bc3c1098f1614db1c5763f3672fe01d768972 (patch) | |
tree | 858645d9b4e5f92462a876b4135205c5b5a9f9a9 /accel/hvf/meson.build | |
parent | 3c93dfa42c394fdd55684f2fbf24cf2f39b97d47 (diff) | |
download | qemu-d57bc3c1098f1614db1c5763f3672fe01d768972.zip qemu-d57bc3c1098f1614db1c5763f3672fe01d768972.tar.gz qemu-d57bc3c1098f1614db1c5763f3672fe01d768972.tar.bz2 |
hvf: Move assert_hvf_ok() into common directory
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>
Diffstat (limited to 'accel/hvf/meson.build')
-rw-r--r-- | accel/hvf/meson.build | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/accel/hvf/meson.build b/accel/hvf/meson.build new file mode 100644 index 0000000..227b11c --- /dev/null +++ b/accel/hvf/meson.build @@ -0,0 +1,6 @@ +hvf_ss = ss.source_set() +hvf_ss.add(files( + 'hvf-all.c', +)) + +specific_ss.add_all(when: 'CONFIG_HVF', if_true: hvf_ss) |