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
15 lines
413 B
Makefile
15 lines
413 B
Makefile
# $FreeBSD$
|
|
.PATH: ${.CURDIR}/../../ofed/drivers/net/mlx4
|
|
|
|
KMOD = mlxen
|
|
SRCS = device_if.h bus_if.h pci_if.h vnode_if.h
|
|
SRCS += en_cq.c en_main.c en_netdev.c en_port.c en_resources.c
|
|
SRCS += en_rx.c en_tx.c utils.c
|
|
SRCS += opt_inet.h opt_inet6.h
|
|
CFLAGS+= -I${.CURDIR}/../../ofed/drivers/net/mlx4
|
|
CFLAGS+= -I${.CURDIR}/../../ofed/include/
|
|
|
|
.include <bsd.kmod.mk>
|
|
|
|
CFLAGS+= -Wno-cast-qual -Wno-pointer-arith
|