arm linuxulator: add syscalls.conf and Makefile for "make sysent"
Differential Revision: https://reviews.freebsd.org/D7973
This commit is contained in:
parent
29f64e28ba
commit
beede70e51
25
sys/arm/linux/Makefile
Normal file
25
sys/arm/linux/Makefile
Normal 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
|
11
sys/arm/linux/syscalls.conf
Normal file
11
sys/arm/linux/syscalls.conf
Normal 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"
|
Loading…
Reference in New Issue
Block a user