Files
qemu/bsd-user/meson.build
Stacey Son d21201257a bsd-user: Add call to do_bsd_ioctl and add bsd-ioctl.c to the build
Finally, connect do_bsd_ioctl to the build. Call bsd_ioctl_init() from
syscall_init()

Signed-off-by: Stacey Son <sson@FreeBSD.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
Signed-off-by: Warner Losh <imp@bsdimp.com>
2026-05-06 20:20:37 -06:00

34 lines
657 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-ioctl.c',
'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)