mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 10:48:02 +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
|
# Bring in the mini-libc that we wrote
|
||||||
|
|
||||||
KBOOTSRC=${BOOTSRC}/kboot
|
KBOOTSRC=${BOOTSRC}/kboot
|
||||||
CFLAGS+=-I${KBOOTSRC}/include
|
CFLAGS+=-I${KBOOTSRC}/include -I${KBOOTSRC}/include/arch/${MACHINE_ARCH}
|
||||||
LIBKBOOT=${BOOTOBJ}/kboot/libkboot/libkboot.a
|
LIBKBOOT=${BOOTOBJ}/kboot/libkboot/libkboot.a
|
||||||
|
|
||||||
.include "../Makefile.inc"
|
.include "../Makefile.inc"
|
||||||
|
|
|
@ -22,7 +22,6 @@ SRCS= \
|
||||||
bootinfo.c \
|
bootinfo.c \
|
||||||
conf.c \
|
conf.c \
|
||||||
gfx_fb_stub.c \
|
gfx_fb_stub.c \
|
||||||
host_syscalls.c \
|
|
||||||
hostcons.c \
|
hostcons.c \
|
||||||
hostdisk.c \
|
hostdisk.c \
|
||||||
hostfs.c \
|
hostfs.c \
|
||||||
|
|
|
@ -7,7 +7,8 @@ WARNS?= 4
|
||||||
CFLAGS+=-I${.CURDIR} -I${.CURDIR}/arch/${MACHINE_ARCH}
|
CFLAGS+=-I${.CURDIR} -I${.CURDIR}/arch/${MACHINE_ARCH}
|
||||||
|
|
||||||
SRCS= crt1.c \
|
SRCS= crt1.c \
|
||||||
host_syscall.S
|
host_syscall.S \
|
||||||
|
host_syscalls.c
|
||||||
|
|
||||||
.sinclude "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc"
|
.sinclude "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue