mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-06 16:40:47 +00:00
kboot: Move system calls to libkboot
Sponsored by: Netflix
This commit is contained in:
parent
099335814d
commit
2e3f49888e
|
@ -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"
|
||||
|
|
|
@ -22,7 +22,6 @@ SRCS= \
|
|||
bootinfo.c \
|
||||
conf.c \
|
||||
gfx_fb_stub.c \
|
||||
host_syscalls.c \
|
||||
hostcons.c \
|
||||
hostdisk.c \
|
||||
hostfs.c \
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue