| 1 |
# SPDX-License-Identifier: LGPL-2.1-or-later |
| 2 |
|
| 3 |
libc_wrapper_sources = files( |
| 4 |
'bpf.c', |
| 5 |
'epoll.c', |
| 6 |
'fcntl.c', |
| 7 |
'ioprio.c', |
| 8 |
'kcmp.c', |
| 9 |
'kexec.c', |
| 10 |
'keyctl.c', |
| 11 |
'mempolicy.c', |
| 12 |
'mount.c', |
| 13 |
'pidfd.c', |
| 14 |
'quota.c', |
| 15 |
'sched.c', |
| 16 |
'signal.c', |
| 17 |
'spawn.c', |
| 18 |
'stat.c', |
| 19 |
'unistd.c', |
| 20 |
'xattr.c', |
| 21 |
) |
| 22 |
|
| 23 |
subdir('musl') |
| 24 |
|
| 25 |
sources += libc_wrapper_sources |
| 26 |
|
| 27 |
libc_wrapper_static = static_library( |
| 28 |
'c-wrapper', |
| 29 |
libc_wrapper_sources, |
| 30 |
include_directories : system_includes, |
| 31 |
implicit_include_directories : false, |
| 32 |
dependencies : [userspace], |
| 33 |
c_args : ['-fvisibility=default'], |
| 34 |
build_by_default : false) |