aboutsummaryrefslogtreecommitdiff
path: root/semihosting/meson.build
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-03-05 13:54:50 +0000
committerAlex Bennée <alex.bennee@linaro.org>2021-03-10 15:34:12 +0000
commit8df9f0c3d7f53c5a123ebb873d1c22daec003c22 (patch)
tree623a919b6e81160a13c529ce575968e5a6dd1432 /semihosting/meson.build
parent6b5fe13786f2e06fce4ceb5f871dd239917105c6 (diff)
downloadqemu-8df9f0c3d7f53c5a123ebb873d1c22daec003c22.zip
qemu-8df9f0c3d7f53c5a123ebb873d1c22daec003c22.tar.gz
qemu-8df9f0c3d7f53c5a123ebb873d1c22daec003c22.tar.bz2
semihosting: Move hw/semihosting/ -> semihosting/
With the exception of hw/core/, the hw/ directory only contains device models used in system emulation. Semihosting is also used by user emulation. As a generic feature, move it out of hw/ directory. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20210226131356.3964782-3-f4bug@amsat.org> Message-Id: <20210305135451.15427-3-alex.bennee@linaro.org>
Diffstat (limited to 'semihosting/meson.build')
-rw-r--r--semihosting/meson.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/semihosting/meson.build b/semihosting/meson.build
new file mode 100644
index 0000000..ea8090a
--- /dev/null
+++ b/semihosting/meson.build
@@ -0,0 +1,7 @@
+specific_ss.add(when: 'CONFIG_SEMIHOSTING', if_true: files(
+ 'config.c',
+ 'console.c',
+))
+
+specific_ss.add(when: ['CONFIG_ARM_COMPATIBLE_SEMIHOSTING'],
+ if_true: files('arm-compat-semi.c'))