Page MenuHomeFreeBSD

D46801.diff
No OneTemporary

D46801.diff

diff --git a/sys/conf/kern.pre.mk b/sys/conf/kern.pre.mk
--- a/sys/conf/kern.pre.mk
+++ b/sys/conf/kern.pre.mk
@@ -324,7 +324,8 @@
# Linux Kernel Programming Interface C-flags
LINUXKPI_INCLUDES= -I$S/compat/linuxkpi/common/include \
- -I$S/compat/linuxkpi/dummy/include
+ -I$S/compat/linuxkpi/dummy/include \
+ -include $S/compat/linuxkpi/common/include/linux/kconfig.h
LINUXKPI_C= ${NORMAL_C} ${LINUXKPI_INCLUDES}
# Infiniband C flags. Correct include paths and omit errors that linux
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk
--- a/sys/conf/kmod.mk
+++ b/sys/conf/kmod.mk
@@ -109,7 +109,8 @@
LINUXKPI_INCLUDES+= \
-I${SYSDIR}/compat/linuxkpi/common/include \
- -I${SYSDIR}/compat/linuxkpi/dummy/include
+ -I${SYSDIR}/compat/linuxkpi/dummy/include \
+ -include ${SYSDIR}/compat/linuxkpi/common/include/linux/kconfig.h
CFLAGS+= ${WERROR}
CFLAGS+= -D_KERNEL

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 16, 4:51 PM (20 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15827414
Default Alt Text
D46801.diff (890 B)

Event Timeline