aboutsummaryrefslogtreecommitdiff
path: root/util/meson.build
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-05-18 03:50:45 +0000
committerRichard Henderson <richard.henderson@linaro.org>2023-05-23 16:51:18 -0700
commit0dd0c7fa2055d5f95413b510386753bb00d61202 (patch)
treef31d85057cfa62ac232f70f9984aca4e3061a752 /util/meson.build
parentb5c0d842d6ea6456bdabfdff5ce853be296cf234 (diff)
downloadqemu-0dd0c7fa2055d5f95413b510386753bb00d61202.zip
qemu-0dd0c7fa2055d5f95413b510386753bb00d61202.tar.gz
qemu-0dd0c7fa2055d5f95413b510386753bb00d61202.tar.bz2
util: Add cpuinfo-aarch64.c
Move the code from tcg/. The only use of these bits so far is with respect to the atomicity of tcg operations. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'util/meson.build')
-rw-r--r--util/meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/util/meson.build b/util/meson.build
index b3be9fa..3a93071 100644
--- a/util/meson.build
+++ b/util/meson.build
@@ -109,6 +109,8 @@ if have_block
util_ss.add(when: 'CONFIG_LINUX', if_true: files('vfio-helpers.c'))
endif
-if cpu in ['x86', 'x86_64']
+if cpu == 'aarch64'
+ util_ss.add(files('cpuinfo-aarch64.c'))
+elif cpu in ['x86', 'x86_64']
util_ss.add(files('cpuinfo-i386.c'))
endif