aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/linux
diff options
context:
space:
mode:
Diffstat (limited to 'sys/amd64/linux')
-rw-r--r--sys/amd64/linux/Makefile25
1 files changed, 2 insertions, 23 deletions
diff --git a/sys/amd64/linux/Makefile b/sys/amd64/linux/Makefile
index c37a5b25160c..662c7f8fc42f 100644
--- a/sys/amd64/linux/Makefile
+++ b/sys/amd64/linux/Makefile
@@ -2,27 +2,6 @@
#
# $FreeBSD$
-# Don't use an OBJDIR
-.OBJDIR: ${.CURDIR}
+GENERATED_PREFIX= linux_
-.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"
-
-# We .ORDER these explicitly so that we only run MAKESYSCALLS once, rather than
-# potentially once for each ${GENERATED} file.
-.ORDER: ${GENERATED}
-sysent: ${GENERATED}
-
-${GENERATED}: ${MAKESYSCALLS} ${SRCS}
- ${LUA} ${MAKESYSCALLS} syscalls.master syscalls.conf
+.include "../../conf/sysent.mk"