Commit 00102c59 authored by Keith Packard's avatar Keith Packard

Add meson.build for libc/syscalls.

Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
parent c1f5502d
srcs_syscalls = [
'sysclose.c',
'sysexecve.c',
'sysfcntl.c',
'sysfork.c',
'sysfstat.c',
'sysgetpid.c',
'sysgettod.c',
'sysisatty.c',
'syskill.c',
'syslink.c',
'syslseek.c',
'sysopen.c',
'sysread.c',
'syssbrk.c',
'sysstat.c',
'systimes.c',
'sysunlink.c',
'syswait.c',
'syswrite.c',
]
foreach target : targets
value = get_variable('target_' + target)
set_variable('lib_syscalls' + target,
static_library('syscalls' + target,
srcs_syscalls,
pic: false,
include_directories: inc,
c_args: value[1]))
endforeach
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment