3363615a65
We have no need to reference bsd_user_ss outside of bsd-user. Go ahead and merge it directly into specific_ss. Reviewed-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
24 lines
390 B
Meson
24 lines
390 B
Meson
if not have_bsd_user
|
|
subdir_done()
|
|
endif
|
|
|
|
bsd_user_ss = ss.source_set()
|
|
|
|
common_user_inc += include_directories('.')
|
|
|
|
bsd_user_ss.add(files(
|
|
'bsdload.c',
|
|
'elfload.c',
|
|
'main.c',
|
|
'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)
|