193d9e768b
This simplifies make output/logic Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 MFC after: 1 month Sponsored by: Dell EMC Isilon
23 lines
676 B
Makefile
23 lines
676 B
Makefile
# $FreeBSD$
|
|
.PATH: ${SRCTOP}/sys/ofed/drivers/infiniband/core
|
|
|
|
KMOD= ibcore
|
|
SRCS= addr.c iwcm.c sa_query.c ucma.c uverbs_cmd.c \
|
|
agent.c multicast.c smi.c ud_header.c uverbs_main.c \
|
|
mad.c peer_mem.c umem.c uverbs_marshall.c \
|
|
cache.c device.c packer.c sysfs.c user_mad.c verbs.c \
|
|
cm.c fmr_pool.c mad_rmpp.c ucm.c cma.c \
|
|
vnode_if.h device_if.h bus_if.h pci_if.h \
|
|
opt_inet.h opt_inet6.h
|
|
|
|
CFLAGS+= -I${SRCTOP}/sys/ofed/drivers/infiniband/core
|
|
CFLAGS+= -I${SRCTOP}/sys/ofed/include
|
|
CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include
|
|
CFLAGS+= -DINET6 -DINET
|
|
|
|
.include <bsd.kmod.mk>
|
|
|
|
CFLAGS+= -Wno-cast-qual -Wno-pointer-arith
|
|
|
|
CWARNFLAGS.cm.c= -Wno-unused-function
|