kboot: Move system calls to libkboot

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2024-01-28 12:08:45 -07:00
parent 099335814d
commit 2e3f49888e
11 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Bring in the mini-libc that we wrote
KBOOTSRC=${BOOTSRC}/kboot
CFLAGS+=-I${KBOOTSRC}/include
CFLAGS+=-I${KBOOTSRC}/include -I${KBOOTSRC}/include/arch/${MACHINE_ARCH}
LIBKBOOT=${BOOTOBJ}/kboot/libkboot/libkboot.a
.include "../Makefile.inc"

View File

@ -22,7 +22,6 @@ SRCS= \
bootinfo.c \
conf.c \
gfx_fb_stub.c \
host_syscalls.c \
hostcons.c \
hostdisk.c \
hostfs.c \

View File

@ -7,7 +7,8 @@ WARNS?= 4
CFLAGS+=-I${.CURDIR} -I${.CURDIR}/arch/${MACHINE_ARCH}
SRCS= crt1.c \
host_syscall.S
host_syscall.S \
host_syscalls.c
.sinclude "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc"