summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2018-03-26 23:23:11 +0000
committerhselasky <hselasky@FreeBSD.org>2018-03-26 23:23:11 +0000
commit5646468f14764a5a5bc11a84f291eb08c8321061 (patch)
tree32b092183c33b04ae4bbec79f2a293a054c943b5 /include
parent823dee6063e1bab32507b9b6b222741844543386 (diff)
downloadFreeBSD-src-5646468f14764a5a5bc11a84f291eb08c8321061.zip
FreeBSD-src-5646468f14764a5a5bc11a84f291eb08c8321061.tar.gz
Fix buildworld after r331586 by adapting the installation of
dev/mlx5/mlx5io.h to the build system in FreeBSD 11-stable. This is a direct commit. Found by: jhb@ Pointy hat: hselasky@ Sponsored by: Mellanox Technologies
Diffstat (limited to 'include')
-rw-r--r--include/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/Makefile b/include/Makefile
index 608aa69..6aa5f3f 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -254,9 +254,9 @@ copies: .PHONY .META
${DESTDIR}${INCLUDEDIR}/sys
.endif
.if ${MK_MLX5TOOL} != "no"
- cd ${SRCTOP}/sys/dev/mlx5; \
+ cd ${.CURDIR}/../sys/dev/mlx5; \
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 mlx5io.h \
- ${SDESTDIR}${INCLUDEDIR}/dev/mlx5
+ ${DESTDIR}${INCLUDEDIR}/dev/mlx5
.endif
symlinks: .PHONY .META
@@ -389,7 +389,7 @@ symlinks: .PHONY .META
done
.if ${MK_MLX5TOOL} != "no"
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/dev/mlx5/mlx5io.h \
- ${SDESTDIR}${INCLUDEDIR}/dev/mlx5
+ ${DESTDIR}${INCLUDEDIR}/dev/mlx5
.endif
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud