arm linuxulator: add syscalls.conf and Makefile for "make sysent"

Differential Revision:	https://reviews.freebsd.org/D7973
This commit is contained in:
Ed Maste 2019-12-11 17:28:49 +00:00
parent 29f64e28ba
commit beede70e51
2 changed files with 36 additions and 0 deletions

25
sys/arm/linux/Makefile Normal file
View File

@ -0,0 +1,25 @@
# Makefile for syscall tables
#
# $FreeBSD$
# Don't use an OBJDIR
.OBJDIR: ${.CURDIR}
.include <src.lua.mk>
MAKESYSCALLS= ../../tools/makesyscalls.lua
SRCS= syscalls.conf \
syscalls.master
GENERATED= linux_proto.h \
linux_syscall.h \
linux_syscalls.c \
linux_sysent.c \
linux_systrace_args.c
all:
@echo "make sysent only"
sysent: ${GENERATED}
${GENERATED}: ${MAKESYSCALLS} ${SRCS}
${LUA} ${MAKESYSCALLS} syscalls.master syscalls.conf

View File

@ -0,0 +1,11 @@
# $FreeBSD$
sysnames="linux_syscalls.c"
sysproto="linux_proto.h"
sysproto_h=_LINUX_SYSPROTO_H_
syshdr="linux_syscall.h"
syssw="linux_sysent.c"
sysmk="/dev/null"
syscallprefix="LINUX_SYS_"
switchname="linux_sysent"
namesname="linux_syscallnames"
systrace="linux_systrace_args.c"