mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
kboot: Move syscall stubs to libkboot
Sponsored by: Netflix
(cherry picked from commit 099335814d)
This commit is contained in:
parent
edf8a9a42d
commit
78f3a2d48e
6 changed files with 5 additions and 3 deletions
|
|
@ -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