]> git.proxmox.com Git - mirror_qemu.git/blobdiff - bsd-user/meson.build
Merge tag 'pull-target-arm-20230908' of https://git.linaro.org/people/pmaydell/qemu...
[mirror_qemu.git] / bsd-user / meson.build
index 0369549340844d6c7b79ac4b570624fda774c47c..5243122fc56dbefc9a4bacedc47c98331ba1fdb1 100644 (file)
@@ -1,3 +1,11 @@
+if not have_bsd_user
+   subdir_done()
+endif
+
+bsd_user_ss = ss.source_set()
+
+common_user_inc += include_directories('include')
+
 bsd_user_ss.add(files(
   'bsdload.c',
   'elfload.c',
@@ -5,6 +13,10 @@ bsd_user_ss.add(files(
   'mmap.c',
   'signal.c',
   'strace.c',
-  'syscall.c',
   'uaccess.c',
 ))
+
+# Pull in the OS-specific build glue, if any
+subdir(targetos)
+
+specific_ss.add_all(when: 'CONFIG_BSD_USER', if_true: bsd_user_ss)