8d59ecb214
- 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
21 lines
553 B
Makefile
21 lines
553 B
Makefile
# $FreeBSD$
|
|
.PATH: ${.CURDIR}/../../ofed/drivers/net/mlx4
|
|
|
|
KMOD= mlx4
|
|
SRCS= device_if.h bus_if.h vnode_if.h pci_if.h \
|
|
opt_inet.h opt_inet6.h \
|
|
alloc.c catas.c cmd.c cq.c eq.c \
|
|
fw.c icm.c intf.c main.c mcg.c mr.c \
|
|
pd.c port.c profile.c qp.c reset.c sense.c \
|
|
srq.c resource_tracker.c sys_tune.c
|
|
|
|
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
|
|
|
|
CWARNFLAGS.mcg.c= -Wno-unused
|