mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-30 12:25:10 +01:00
r314651: sys/modules: normalize .CURDIR-relative paths to SRCTOP This simplifies make output/logic Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 r318439: Normalize .PATH on SRCTOP This will help Jenkins dedupe 9 warnings between the static build and the module build of ipsec(4). Missed in SRCTOP conversion in r314651. MFC with: r314651 r318440: Normalize SYSDIR on SRCTOP instead of .CURDIR This is being done to simplify pathing for CFLAGS and source files.
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
|