aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/mlx4/Makefile
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/mlx4/Makefile
parentabe427af75e9478f8ab875b40333d594d1fb46ac (diff)
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
svn path=/head/; revision=314651
Diffstat (limited to 'sys/modules/mlx4/Makefile')
-rw-r--r--sys/modules/mlx4/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/modules/mlx4/Makefile b/sys/modules/mlx4/Makefile
index 6fd4620dffcc..44ec725ee9ce 100644
--- a/sys/modules/mlx4/Makefile
+++ b/sys/modules/mlx4/Makefile
@@ -1,5 +1,5 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../../dev/mlx4/mlx4_core
+.PATH: ${SRCTOP}/sys/dev/mlx4/mlx4_core
KMOD= mlx4
SRCS= device_if.h bus_if.h vnode_if.h pci_if.h \
@@ -25,8 +25,8 @@ SRCS= device_if.h bus_if.h vnode_if.h pci_if.h \
mlx4_resource_tracker.c \
mlx4_sys_tune.c
-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>