Author: emaste
Date: Wed Dec 11 17:28:49 2019
New Revision: 355615
URL: https://svnweb.freebsd.org/changeset/base/355615

Log:
  arm linuxulator: add syscalls.conf and Makefile for "make sysent"
  
  Differential Revision:        https://reviews.freebsd.org/D7973

Added:
  head/sys/arm/linux/Makefile   (contents, props changed)
  head/sys/arm/linux/syscalls.conf   (contents, props changed)

Added: head/sys/arm/linux/Makefile
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/sys/arm/linux/Makefile Wed Dec 11 17:28:49 2019        (r355615)
@@ -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

Added: head/sys/arm/linux/syscalls.conf
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/sys/arm/linux/syscalls.conf    Wed Dec 11 17:28:49 2019        
(r355615)
@@ -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"
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to