aboutsummaryrefslogtreecommitdiff
path: root/sys/conf/kmod.mk
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2022-09-23 21:25:07 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2022-09-26 19:36:44 +0000
commitf8bad56164a43aa108498a97bd0021a943c0a02e (patch)
tree0442bfb8d40256c1df4b8e2950858806b754383c /sys/conf/kmod.mk
parent514fb3872166a361faa81d89909f65913e90b1b2 (diff)
downloadsrc-f8bad56164a43aa108498a97bd0021a943c0a02e.tar.gz
src-f8bad56164a43aa108498a97bd0021a943c0a02e.zip
LinuxKPI: add the "dummy" includes directory to builds
While we could add the dummy includes directory manually to only the drivers needing it, it seems a lot easier to simply add it to all without any expected harm. This is needed for more drivers (and to remove some #ifdef in current ones) with empty header files being present not yielding errors. Sponsored by: The FreeBSD Foundation MFC after: 1 week Reviewed by: hselasky, imp Differential Revision: https://reviews.freebsd.org/D36684
Diffstat (limited to 'sys/conf/kmod.mk')
-rw-r--r--sys/conf/kmod.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk
index b9f3a6ce006d..ace2f4cc3d4c 100644
--- a/sys/conf/kmod.mk
+++ b/sys/conf/kmod.mk
@@ -109,7 +109,8 @@ LINUXKPI_GENSRCS+= \
opt_stack.h
LINUXKPI_INCLUDES+= \
- -I${SYSDIR}/compat/linuxkpi/common/include
+ -I${SYSDIR}/compat/linuxkpi/common/include \
+ -I${SYSDIR}/compat/linuxkpi/dummy/include
CFLAGS+= ${WERROR}
CFLAGS+= -D_KERNEL