mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
kboot: Move syscall stubs to libkboot
Sponsored by: Netflix
This commit is contained in:
parent
4aabaa1890
commit
099335814d
|
@ -1,4 +1,4 @@
|
|||
SRCS+= host_syscall.S tramp.S exec.c load_addr.c fdt_arch.c
|
||||
SRCS+= tramp.S exec.c load_addr.c fdt_arch.c
|
||||
|
||||
.PATH: ${BOOTSRC}/arm64/libarm64
|
||||
CFLAGS+=-I${BOOTSRC}/arm64/libarm64
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
SRCS+= host_syscall.S amd64_tramp.S elf64_freebsd.c load_addr.c fdt_arch.c
|
||||
SRCS+= amd64_tramp.S elf64_freebsd.c load_addr.c fdt_arch.c
|
||||
|
||||
CFLAGS+= -I${SYSDIR}/contrib/dev/acpica/include
|
||||
|
||||
|
|
|
@ -3,9 +3,11 @@
|
|||
LIB= kboot
|
||||
WARNS?= 4
|
||||
|
||||
.PATH: ${.CURDIR}/arch/${MACHINE_ARCH}
|
||||
CFLAGS+=-I${.CURDIR} -I${.CURDIR}/arch/${MACHINE_ARCH}
|
||||
|
||||
SRCS= crt1.c
|
||||
SRCS= crt1.c \
|
||||
host_syscall.S
|
||||
|
||||
.sinclude "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc"
|
||||
|
||||
|
|
Loading…
Reference in a new issue