mirror of
https://github.com/opnsense/src.git
synced 2026-03-02 21:31:02 -05:00
by dumbbell@ to be able to compile this layer as a dependency module. Clean up some Makefiles and remove the no longer used OFED define. Currently only i386 and amd64 targets are supported. MFC after: 1 month Sponsored by: Mellanox Technologies
18 lines
535 B
Makefile
18 lines
535 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 ${GCC_MS_EXTENSIONS}
|