aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/mlxfw/Makefile
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2022-09-23 21:18:45 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2022-09-26 19:34:01 +0000
commit514fb3872166a361faa81d89909f65913e90b1b2 (patch)
tree93766998e1b8f80267da64852859c061c2e2376c /sys/modules/mlxfw/Makefile
parentbd93b5f79ab489fb0ed6ab25d6be48242eb8c028 (diff)
downloadsrc-514fb3872166a361faa81d89909f65913e90b1b2.tar.gz
src-514fb3872166a361faa81d89909f65913e90b1b2.zip
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/mlxfw/Makefile')
-rw-r--r--sys/modules/mlxfw/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/mlxfw/Makefile b/sys/modules/mlxfw/Makefile
index 5980a49dabee..899f58df8f13 100644
--- a/sys/modules/mlxfw/Makefile
+++ b/sys/modules/mlxfw/Makefile
@@ -11,7 +11,7 @@ SRCS+= ${LINUXKPI_GENSRCS}
CFLAGS+= \
-I${SRCTOP}/sys/ofed/include \
-I${SRCTOP}/sys/ofed/include/uapi \
- -I${SRCTOP}/sys/compat/linuxkpi/common/include \
+ ${LINUXKPI_INCLUDES} \
-I${SRCTOP}/sys/contrib/xz-embedded/freebsd \
-I${SRCTOP}/sys/contrib/xz-embedded/linux/lib/xz