diff options
| author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2018-03-08 15:21:56 +0000 |
|---|---|---|
| committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2018-03-08 15:21:56 +0000 |
| commit | e808190a59fe2501bea01192584e2981e62083bd (patch) | |
| tree | 4f99d8488e9959de7f83866260a060f215f8fdd4 /include/Makefile | |
| parent | 479c9e50e1689d34b8bf352f401e45b4c4191f1c (diff) | |
Notes
Diffstat (limited to 'include/Makefile')
| -rw-r--r-- | include/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/Makefile b/include/Makefile index 33fc6743b494..2ccef74f8b66 100644 --- a/include/Makefile +++ b/include/Makefile @@ -255,6 +255,11 @@ copies: .PHONY .META ${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 nvpair.h \ ${SDESTDIR}${INCLUDEDIR}/sys .endif +.if ${MK_MLX5TOOL} != "no" + cd ${SRCTOP}/sys/dev/mlx5; \ + ${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 mlx5io.h \ + ${SDESTDIR}${INCLUDEDIR}/dev/mlx5 +.endif symlinks: .PHONY .META @${ECHO} "Setting up symlinks to kernel source tree..." @@ -384,6 +389,10 @@ symlinks: .PHONY .META ${INSTALL_SYMLINK} ${TAG_ARGS} ../../../sys/rpc/$$h \ ${SDESTDIR}${INCLUDEDIR}/rpc; \ done +.if ${MK_MLX5TOOL} != "no" + ${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/dev/mlx5/mlx5io.h \ + ${SDESTDIR}${INCLUDEDIR}/dev/mlx5 +.endif .include <bsd.prog.mk> |
