summaryrefslogtreecommitdiffstats
path: root/sys/modules/linuxkpi
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2015-10-22 09:50:45 +0000
committerhselasky <hselasky@FreeBSD.org>2015-10-22 09:50:45 +0000
commit1025a58857e51798030a64fa0fb3a22ce954d59c (patch)
treefe16a002f28f006ee9780f569e0595b9cf2495a6 /sys/modules/linuxkpi
parent8be8acd7af2d635a3a2a8508546a3bbf6b6190ed (diff)
downloadFreeBSD-src-1025a58857e51798030a64fa0fb3a22ce954d59c.zip
FreeBSD-src-1025a58857e51798030a64fa0fb3a22ce954d59c.tar.gz
Rename linuxapi[.ko] into linuxkpi[.ko], to reflect that it is a
kernel programming interface module, KPI, to avoid confusion with the existing Linux userspace binary compatibility shims. Bump the FreeBSD_version number. Reviewed by: np @ Suggested by: dumbbell @ Sponsored by: Mellanox Technologies
Diffstat (limited to 'sys/modules/linuxkpi')
-rw-r--r--sys/modules/linuxkpi/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/sys/modules/linuxkpi/Makefile b/sys/modules/linuxkpi/Makefile
new file mode 100644
index 0000000..47aa6cd
--- /dev/null
+++ b/sys/modules/linuxkpi/Makefile
@@ -0,0 +1,18 @@
+# $FreeBSD$
+.PATH: ${.CURDIR}/../../ofed/include/linux
+
+KMOD= linuxkpi
+SRCS= linux_kmod.c \
+ linux_compat.c \
+ linux_pci.c \
+ linux_radix.c \
+ linux_idr.c
+
+SRCS+= bus_if.h \
+ device_if.h \
+ pci_if.h \
+ vnode_if.h
+
+CFLAGS+= -I${.CURDIR}/../../ofed/include/
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud