libsys: plumb in to build

libsys provides the FreeBSD kernel interface (auxargs, system calls,
vdso).  It can be linked directly for programs using a non-standard
libc and will later be linked as a filter library to libc providing
the actual system call implementation.

Reviewed by:	kib, emaste, imp
Pull Request:	https://github.com/freebsd/freebsd-src/pull/908
This commit is contained in:
Brooks Davis
2023-11-15 23:31:57 +00:00
parent 86deddfacb
commit e9d961055a
4 changed files with 89 additions and 0 deletions
+2
View File
@@ -158,6 +158,7 @@ ${SPSEUDO}:
printf ${NOTE_GNU_STACK} >>${.TARGET}
printf ${FEATURE_NOTE} >> ${.TARGET}
.if ${LIB} == "sys"
MAN+= abort2.2 \
accept.2 \
access.2 \
@@ -541,3 +542,4 @@ MLINKS+=wait.2 wait3.2 \
MLINKS+=write.2 pwrite.2 \
write.2 pwritev.2 \
write.2 writev.2
.endif # ${LIB} == "sys"