freebsd-nq/sys/modules/linuxkpi/Makefile
Hans Petter Selasky 8d59ecb214 Finish process of moving the LinuxKPI module into the default kernel build.
- 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
2015-10-29 08:28:39 +00:00

22 lines
345 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../compat/linuxkpi/common/src
KMOD= linuxkpi
SRCS= linux_kmod.c \
linux_compat.c \
linux_pci.c \
linux_radix.c \
linux_idr.c \
linux_usb.c
SRCS+= bus_if.h \
device_if.h \
pci_if.h \
vnode_if.h \
usb_if.h \
opt_usb.h
CFLAGS+= -I${.CURDIR}/../../compat/linuxkpi/common/include
.include <bsd.kmod.mk>