mirror of
https://github.com/opnsense/src.git
synced 2026-04-03 08:25:16 -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
296 B
Makefile
16 lines
296 B
Makefile
# $FreeBSD$
|
|
|
|
SYSDIR?=${.CURDIR}/../../..
|
|
.include "${SYSDIR}/conf/kern.opts.mk"
|
|
|
|
S= ${.CURDIR}/../../..
|
|
|
|
.PATH: $S/dev/vnic
|
|
|
|
KMOD= thunder_bgx
|
|
SRCS= thunder_bgx.c thunder_bgx_fdt.c
|
|
SRCS+= opt_platform.h device_if.h bus_if.h pci_if.h lmac_if.h ofw_bus_if.h
|
|
|
|
CFLAGS+= -DFDT
|
|
|
|
.include <bsd.kmod.mk>
|