summaryrefslogtreecommitdiffstats
path: root/sys/modules/ibcore/Makefile
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-05-30 04:11:12 +0000
committerngie <ngie@FreeBSD.org>2017-05-30 04:11:12 +0000
commit96dc1cf1ed7b32083e3c2518b615049a51e28805 (patch)
treecc073c28e12eab20ba91fc4b06400c1131b8d67d /sys/modules/ibcore/Makefile
parent61642a6713ab173381f65410feaddc6c99f97b54 (diff)
downloadFreeBSD-src-96dc1cf1ed7b32083e3c2518b615049a51e28805.zip
FreeBSD-src-96dc1cf1ed7b32083e3c2518b615049a51e28805.tar.gz
MFC r314651,r318439,r318440:
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.
Diffstat (limited to 'sys/modules/ibcore/Makefile')
-rw-r--r--sys/modules/ibcore/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/modules/ibcore/Makefile b/sys/modules/ibcore/Makefile
index 490a11a..1845378 100644
--- a/sys/modules/ibcore/Makefile
+++ b/sys/modules/ibcore/Makefile
@@ -1,5 +1,5 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../../ofed/drivers/infiniband/core
+.PATH: ${SRCTOP}/sys/ofed/drivers/infiniband/core
KMOD= ibcore
SRCS= addr.c iwcm.c sa_query.c ucma.c uverbs_cmd.c \
@@ -10,9 +10,9 @@ SRCS= addr.c iwcm.c sa_query.c ucma.c uverbs_cmd.c \
vnode_if.h device_if.h bus_if.h pci_if.h \
opt_inet.h opt_inet6.h
-CFLAGS+= -I${.CURDIR}/../../ofed/drivers/infiniband/core
-CFLAGS+= -I${.CURDIR}/../../ofed/include
-CFLAGS+= -I${.CURDIR}/../../compat/linuxkpi/common/include
+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>
OpenPOWER on IntegriCloud