2021-10-09 00:47:37 +02:00
|
|
|
if not have_bsd_user
|
|
|
|
subdir_done()
|
|
|
|
endif
|
|
|
|
|
2021-11-17 16:35:01 +01:00
|
|
|
bsd_user_ss = ss.source_set()
|
|
|
|
|
2021-12-21 16:20:32 +01:00
|
|
|
common_user_inc += include_directories('include')
|
2021-11-17 16:14:00 +01:00
|
|
|
|
2019-08-18 17:20:37 +02:00
|
|
|
bsd_user_ss.add(files(
|
|
|
|
'bsdload.c',
|
|
|
|
'elfload.c',
|
|
|
|
'main.c',
|
|
|
|
'mmap.c',
|
|
|
|
'signal.c',
|
|
|
|
'strace.c',
|
|
|
|
'uaccess.c',
|
|
|
|
))
|
2021-09-20 21:41:38 +02:00
|
|
|
|
|
|
|
# Pull in the OS-specific build glue, if any
|
|
|
|
subdir(targetos)
|
2021-11-17 16:35:01 +01:00
|
|
|
|
|
|
|
specific_ss.add_all(when: 'CONFIG_BSD_USER', if_true: bsd_user_ss)
|