xref: /openbmc/qemu/bsd-user/meson.build (revision f85ad231)
1if not have_bsd_user
2   subdir_done()
3endif
4
5bsd_user_ss = ss.source_set()
6
7common_user_inc += include_directories('include')
8
9bsd_user_ss.add(files(
10  'bsdload.c',
11  'elfload.c',
12  'main.c',
13  'mmap.c',
14  'signal.c',
15  'strace.c',
16  'syscall.c',
17  'uaccess.c',
18))
19
20# Pull in the OS-specific build glue, if any
21subdir(targetos)
22
23specific_ss.add_all(when: 'CONFIG_BSD_USER', if_true: bsd_user_ss)
24