mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
Add directory structure and fix dependencies to be able to build and use Cavium VNIC driver as a module. Reviewed by: zbb Obtained from: Semihalf Sponsored by: Cavium Differential Revision: https://reviews.freebsd.org/D6345
16 lines
332 B
Makefile
16 lines
332 B
Makefile
# $FreeBSD$
|
|
|
|
SYSDIR?=${.CURDIR}/../../..
|
|
.include "${SYSDIR}/conf/kern.opts.mk"
|
|
|
|
S= ${.CURDIR}/../../..
|
|
|
|
.PATH: $S/dev/vnic
|
|
|
|
KMOD= vnicvf
|
|
SRCS= nicvf_main.c nicvf_queues.c
|
|
SRCS+= opt_platform.h ofw_bus_if.h lmac_if.h miibus_if.h pci_if.h bus_if.h device_if.h opt_inet.h opt_inet6.h
|
|
|
|
CFLAGS+= -DFDT -DPCI_IOV
|
|
|
|
.include <bsd.kmod.mk>
|