linuxkpi: fix module build outside of kernel build environment

MFC after:	3 days
This commit is contained in:
Eugene Grosbein 2022-03-11 04:31:23 +07:00
parent a2774a9264
commit f5a2e7b0e8

View File

@ -38,6 +38,7 @@ SRCS= linux_compat.c \
SRCS+= opt_acpi.h acpi_if.h linux_acpi.c
.endif
SRCS+= opt_ddb.h
SRCS+= ${LINUXKPI_GENSRCS}
CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include