aboutsummaryrefslogtreecommitdiff
path: root/sys/i386
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2019-11-18 23:28:23 +0000
committerKyle Evans <kevans@FreeBSD.org>2019-11-18 23:28:23 +0000
commitf22a5921112a9b9389e7701b704b174184471924 (patch)
tree5e4c76ee1b44c5307c93bbc3a93fcd8e738d9ace /sys/i386
parent38effe887ee979f91ad5abf42a2291558e7ff8d1 (diff)
downloadsrc-f22a5921112a9b9389e7701b704b174184471924.tar.gz
src-f22a5921112a9b9389e7701b704b174184471924.zip
Convert in-tree sysent targets to use new makesyscalls.lua
flua is bootstrapped as part of the build for those on older versions/revisions that don't yet have flua installed. Once upgraded past r354833, "make sysent" will again naturally work as expected. Reviewed by: brooks Differential Revision: https://reviews.freebsd.org/D21894
Notes
Notes: svn path=/head/; revision=354835
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/linux/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/i386/linux/Makefile b/sys/i386/linux/Makefile
index aade1909d8ef..f81a30e549dd 100644
--- a/sys/i386/linux/Makefile
+++ b/sys/i386/linux/Makefile
@@ -5,11 +5,13 @@
# Don't use an OBJDIR
.OBJDIR: ${.CURDIR}
+.include <src.lua.mk>
+
all:
@echo "make sysent only"
sysent: linux_sysent.c linux_syscall.h linux_proto.h linux_syscalls.c linux_systrace_args.c
linux_sysent.c linux_syscall.h linux_proto.h linux_syscalls.c linux_systrace_args.c: \
- ../../kern/makesyscalls.sh syscalls.master ${.CURDIR}/syscalls.conf
- sh ../../kern/makesyscalls.sh syscalls.master ${.CURDIR}/syscalls.conf
+ ../../tools/makesyscalls.lua syscalls.master ${.CURDIR}/syscalls.conf
+ ${LUA} ../../tools/makesyscalls.lua syscalls.master ${.CURDIR}/syscalls.conf