diff options
author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2022-09-23 21:18:45 +0000 |
---|---|---|
committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2022-09-26 19:34:01 +0000 |
commit | 514fb3872166a361faa81d89909f65913e90b1b2 (patch) | |
tree | 93766998e1b8f80267da64852859c061c2e2376c /sys/modules/mlx5/Makefile | |
parent | bd93b5f79ab489fb0ed6ab25d6be48242eb8c028 (diff) |
LinuxKPI: define LINUXKPI_INCLUDES for module builds as well
While for in-kernel we already have LINUXKPI_INCLUDES in kern.pre.mk
for kmod builds we've not had a common define to use leading to various
spellings of include paths.
In order for the include list to be expanded more easily in the future,
e.g., adding the "dummy" includes (for all) and to harmonize code,
duplicate LINUXKPI_INCLUDES to kmod.mk and use it for all module Makefiles.
MFC after: 1 week
Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D36683
Diffstat (limited to 'sys/modules/mlx5/Makefile')
-rw-r--r-- | sys/modules/mlx5/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/mlx5/Makefile b/sys/modules/mlx5/Makefile index f9e282789d1c..3eb21722f777 100644 --- a/sys/modules/mlx5/Makefile +++ b/sys/modules/mlx5/Makefile @@ -40,7 +40,7 @@ SRCS+= opt_inet.h opt_inet6.h opt_rss.h opt_ratelimit.h CFLAGS+= -I${SRCTOP}/sys/ofed/include CFLAGS+= -I${SRCTOP}/sys/ofed/include/uapi -CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include +CFLAGS+= ${LINUXKPI_INCLUDES} .if defined(CONFIG_BUILD_FPGA) SRCS+= \ |