summaryrefslogtreecommitdiffstats
path: root/sys/modules/mlx5/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/mlx5/Makefile')
-rw-r--r--sys/modules/mlx5/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/modules/mlx5/Makefile b/sys/modules/mlx5/Makefile
index 2018e42..fd68918 100644
--- a/sys/modules/mlx5/Makefile
+++ b/sys/modules/mlx5/Makefile
@@ -1,5 +1,5 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../../dev/mlx5/mlx5_core
+.PATH: ${SRCTOP}/sys/dev/mlx5/mlx5_core
KMOD=mlx5
SRCS= \
@@ -27,8 +27,8 @@ mlx5_wq.c \
device_if.h bus_if.h vnode_if.h pci_if.h \
opt_inet.h opt_inet6.h opt_rss.h
-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>
OpenPOWER on IntegriCloud