diff options
| author | Jack F Vogel <jfv@FreeBSD.org> | 2014-05-19 01:21:02 +0000 |
|---|---|---|
| committer | Jack F Vogel <jfv@FreeBSD.org> | 2014-05-19 01:21:02 +0000 |
| commit | a7353153c119f88e9169e551e21352275898c764 (patch) | |
| tree | c387c266b11dbae8c994ff5245cc82d7f95db529 /sys/modules/i40e | |
| parent | 883831c675caf07e334bf083d0e4e64bc8ad04ab (diff) | |
Notes
Diffstat (limited to 'sys/modules/i40e')
| -rwxr-xr-x | sys/modules/i40e/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/sys/modules/i40e/Makefile b/sys/modules/i40e/Makefile new file mode 100755 index 000000000000..7d06a6836a50 --- /dev/null +++ b/sys/modules/i40e/Makefile @@ -0,0 +1,35 @@ +#$FreeBSD$ + +.include <src.opts.mk> + +.PATH: ${.CURDIR}/../../dev/i40e + +KMOD = if_i40e +SRCS = device_if.h bus_if.h pci_if.h opt_bdg.h +SRCS += if_i40e.c i40e_txrx.c i40e_osdep.c + +# Shared source +SRCS += i40e_common.c i40e_nvm.c i40e_adminq.c i40e_lan_hmc.c i40e_hmc.c + +CFLAGS += -DSMP -DFORTVILLE_HW + +# Add Flow Director support +# CFLAGS += -DI40E_FDIR +# A0 hardware support +# CFLAGS += -DFORTVILLE_A0_SUPPORT +# Debug messages / sysctls +# CFLAGS += -DI40E_DEBUG + +.if !defined(KERNBUILDDIR) +.if ${MK_INET_SUPPORT} != "no" +opt_inet.h: + @echo "#define INET 1" > ${.TARGET} +.endif + +.if ${MK_INET6_SUPPORT} != "no" +opt_inet6.h: + @echo "#define INET6 1" > ${.TARGET} +.endif +.endif + +.include <bsd.kmod.mk> |
