summaryrefslogtreecommitdiffstats
path: root/sys/amd64/linux/Makefile
diff options
context:
space:
mode:
authordchagin <dchagin@FreeBSD.org>2015-05-24 16:07:11 +0000
committerdchagin <dchagin@FreeBSD.org>2015-05-24 16:07:11 +0000
commit2f453c26e7b08815526b8c9e97856276b36baf1d (patch)
tree35df2c514a1dae4de7326c9bdbac37a088358088 /sys/amd64/linux/Makefile
parent5b7bd42ffe60c56b4a4f470f7c692c1392e0c502 (diff)
downloadFreeBSD-src-2f453c26e7b08815526b8c9e97856276b36baf1d.zip
FreeBSD-src-2f453c26e7b08815526b8c9e97856276b36baf1d.tar.gz
Add preliminary support for x86-64 Linux binaries.
Differential Revision: https://reviews.freebsd.org/D1076
Diffstat (limited to 'sys/amd64/linux/Makefile')
-rw-r--r--sys/amd64/linux/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/sys/amd64/linux/Makefile b/sys/amd64/linux/Makefile
new file mode 100644
index 0000000..c8899e6
--- /dev/null
+++ b/sys/amd64/linux/Makefile
@@ -0,0 +1,17 @@
+# Makefile for syscall tables
+#
+# $FreeBSD$
+
+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 syscalls.conf
+ -mv -f linux_sysent.c linux_sysent.c.bak
+ -mv -f linux_syscall.h linux_syscall.h.bak
+ -mv -f linux_proto.h linux_proto.h.bak
+ -mv -f linux_syscalls.c linux_syscalls.c.bak
+ -mv -f linux_systrace_args.c linux_systrace_args.c.bak
+ sh ../../kern/makesyscalls.sh syscalls.master syscalls.conf
OpenPOWER on IntegriCloud