Files
qemu/bsd-user/meson.build
Warner Losh af1520207b bsd-user: Copy linux-user/thunk.c to bsd-user
bsd-user's blitz branch has used this file verbatim for a while. Copy it
verbatim, but update to the new QEMU standards.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
2026-05-06 20:10:50 -06:00

33 lines
640 B
Meson

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(
'bsd-mem.c',
'bsd-misc.c',
'bsd-proc.c',
'bsdload.c',
'elfload.c',
'main.c',
'mmap.c',
'plugin-api.c',
'signal.c',
'strace.c',
'thunk.c',
'uaccess.c',
))
elf = cc.find_library('elf', required: true)
procstat = cc.find_library('procstat', required: true)
kvm = cc.find_library('kvm', required: true)
bsd_user_ss.add(elf, procstat, kvm)
# Pull in the OS-specific build glue, if any
subdir(host_os)
specific_ss.add_all(when: 'CONFIG_BSD_USER', if_true: bsd_user_ss)