summaryrefslogtreecommitdiff
path: root/sys/amd64/linux/Makefile
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2019-12-06 23:59:23 +0000
committerBrooks Davis <brooks@FreeBSD.org>2019-12-06 23:59:23 +0000
commitaf796bfa71c709fef199dcb73bfabdc8dbe94c8f (patch)
tree5b2e1baeb393910df598170fb62be2772ed2b57c /sys/amd64/linux/Makefile
parent2096ce03390e6b0a4f24638d85abeaa2eaad5faa (diff)
Notes
Diffstat (limited to 'sys/amd64/linux/Makefile')
-rw-r--r--sys/amd64/linux/Makefile16
1 files changed, 12 insertions, 4 deletions
diff --git a/sys/amd64/linux/Makefile b/sys/amd64/linux/Makefile
index f81a30e549dd..66bd3d08d1e3 100644
--- a/sys/amd64/linux/Makefile
+++ b/sys/amd64/linux/Makefile
@@ -7,11 +7,19 @@
.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: linux_sysent.c linux_syscall.h linux_proto.h linux_syscalls.c linux_systrace_args.c
+sysent: ${GENERATED}
-linux_sysent.c linux_syscall.h linux_proto.h linux_syscalls.c linux_systrace_args.c: \
- ../../tools/makesyscalls.lua syscalls.master ${.CURDIR}/syscalls.conf
- ${LUA} ../../tools/makesyscalls.lua syscalls.master ${.CURDIR}/syscalls.conf
+${GENERATED}: ${MAKESYSCALLS} ${SRCS}
+ ${LUA} ${MAKESYSCALLS} syscalls.master syscalls.conf