cc4a90c445
this option from all modules that enable it theirselves. In C mode -fms-extensions option enables anonymous structs and unions, allowing us to use this C11 feature in kernel. Of course, clang supports it without any extra options. Reviewed by: dim
29 lines
460 B
Makefile
29 lines
460 B
Makefile
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
CXGBE= ${.CURDIR}/../../../dev/cxgbe
|
|
.PATH: ${CXGBE} ${CXGBE}/common
|
|
|
|
KMOD= if_cxgbe
|
|
SRCS= bus_if.h
|
|
SRCS+= device_if.h
|
|
SRCS+= opt_inet.h
|
|
SRCS+= opt_inet6.h
|
|
SRCS+= opt_ofed.h
|
|
SRCS+= pci_if.h
|
|
SRCS+= t4_hw.c
|
|
SRCS+= t4_l2t.c
|
|
SRCS+= t4_main.c
|
|
SRCS+= t4_mp_ring.c
|
|
SRCS+= t4_netmap.c
|
|
SRCS+= t4_sge.c
|
|
SRCS+= t4_tracer.c
|
|
|
|
# Provide the timestamp of a packet in its header mbuf.
|
|
#CFLAGS+= -DT4_PKT_TIMESTAMP
|
|
|
|
CFLAGS+= -I${CXGBE}
|
|
|
|
.include <bsd.kmod.mk>
|