97b71ce545
- Move all files related to the LinuxKPI into sys/compat/linuxkpi and its subfolders. - Update sys/conf/files and some Makefiles to use new file locations. - Added description of COMPAT_LINUXKPI to sys/conf/NOTES which in turn adds the LinuxKPI to all LINT builds. - The LinuxKPI can be added to the kernel by setting the COMPAT_LINUXKPI option. The OFED kernel option no longer builds the LinuxKPI into the kernel. This was done to keep the build rules for the LinuxKPI in sys/conf/files simple. - Extend the LinuxKPI module to include support for USB by moving the Linux USB compat from usb.ko to linuxkpi.ko. - Bump the FreeBSD_version. - A universe kernel build has been done. Reviewed by: np @ (cxgb and cxgbe related changes only) Sponsored by: Mellanox Technologies
16 lines
463 B
Makefile
16 lines
463 B
Makefile
# $FreeBSD$
|
|
.PATH: ${.CURDIR}/../../ofed/drivers/net/mlx4
|
|
|
|
KMOD = mlxen
|
|
SRCS = device_if.h bus_if.h pci_if.h vnode_if.h
|
|
SRCS += en_cq.c en_main.c en_netdev.c en_port.c en_resources.c
|
|
SRCS += en_rx.c en_tx.c
|
|
SRCS += opt_inet.h opt_inet6.h
|
|
CFLAGS+= -I${.CURDIR}/../../ofed/drivers/net/mlx4
|
|
CFLAGS+= -I${.CURDIR}/../../ofed/include
|
|
CFLAGS+= -I${.CURDIR}/../../compat/linuxkpi/common/include
|
|
|
|
.include <bsd.kmod.mk>
|
|
|
|
CFLAGS+= -Wno-cast-qual -Wno-pointer-arith
|