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
533 B
Makefile
16 lines
533 B
Makefile
# $FreeBSD$
|
|
|
|
CXGB = ${.CURDIR}/../../../dev/cxgb
|
|
.PATH: ${CXGB}/ulp/iw_cxgb
|
|
|
|
KMOD= iw_cxgb
|
|
SRCS= iw_cxgb.c iw_cxgb_cm.c iw_cxgb_hal.c
|
|
SRCS+= iw_cxgb_provider.c iw_cxgb_qp.c iw_cxgb_resource.c
|
|
SRCS+= iw_cxgb_ev.c iw_cxgb_mem.c iw_cxgb_dbg.c iw_cxgb_cq.c
|
|
SRCS+= bus_if.h device_if.h opt_sched.h pci_if.h pcib_if.h opt_ktr.h
|
|
SRCS+= opt_inet.h opt_ofed.h vnode_if.h
|
|
CFLAGS+= -I${CXGB} -I${.CURDIR}/../../../ofed/include -DLINUX_TYPES_DEFINED
|
|
CFLAGS+= -I${.CURDIR}/../../../compat/linuxkpi/common/include
|
|
|
|
.include <bsd.kmod.mk>
|