aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/mlx5en
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-03-04 10:10:17 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-03-04 10:10:17 +0000
commit193d9e768ba63fcfb187cfd17f461f7d41345048 (patch)
tree0bd611a14f41427d2dd6120d82a36544617899be /sys/modules/mlx5en
parentabe427af75e9478f8ab875b40333d594d1fb46ac (diff)
downloadsrc-193d9e768ba63fcfb187cfd17f461f7d41345048.tar.gz
src-193d9e768ba63fcfb187cfd17f461f7d41345048.zip
sys/modules: normalize .CURDIR-relative paths to SRCTOP
This simplifies make output/logic Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 MFC after: 1 month Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=314651
Diffstat (limited to 'sys/modules/mlx5en')
-rw-r--r--sys/modules/mlx5en/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/modules/mlx5en/Makefile b/sys/modules/mlx5en/Makefile
index a3f6d6be39b0..c154f774bc28 100644
--- a/sys/modules/mlx5en/Makefile
+++ b/sys/modules/mlx5en/Makefile
@@ -1,5 +1,5 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../../dev/mlx5/mlx5_en
+.PATH: ${SRCTOP}/sys/dev/mlx5/mlx5_en
KMOD=mlx5en
SRCS= \
@@ -20,8 +20,8 @@ CFLAGS+= -DHAVE_PER_CQ_EVENT_PACKET
CFLAGS+= -DHAVE_TCP_LRO_RX
.endif
-CFLAGS+= -I${.CURDIR}/../../ofed/include
-CFLAGS+= -I${.CURDIR}/../../compat/linuxkpi/common/include
+CFLAGS+= -I${SRCTOP}/sys/ofed/include
+CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include
.include <bsd.kmod.mk>