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
19 lines
514 B
Makefile
19 lines
514 B
Makefile
# $FreeBSD$
|
|
.PATH: ${.CURDIR}/../../ofed/drivers/infiniband/ulp/ipoib
|
|
.PATH: ${.CURDIR}/../../ofed/include/linux
|
|
|
|
KMOD= ipoib
|
|
SRCS= device_if.h bus_if.h vnode_if.h pci_if.h \
|
|
opt_inet.h opt_inet6.h opt_ofed.h \
|
|
ipoib_cm.c ipoib_ib.c ipoib_main.c \
|
|
ipoib_multicast.c ipoib_verbs.c
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../ofed/drivers/infiniband/ulp/ipoib
|
|
CFLAGS+= -I${.CURDIR}/../ibcore
|
|
CFLAGS+= -I${.CURDIR}/../../ofed/include/
|
|
CFLAGS+= -DINET6 -DINET
|
|
|
|
.include <bsd.kmod.mk>
|
|
|
|
CFLAGS+= -Wno-cast-qual -Wno-pointer-arith
|