Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107545401
D46801.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
890 B
Referenced Files
None
Subscribers
None
D46801.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D46801: LinuxKPI: always include linux/kconfig.h
Attached
Detach File
Event Timeline
Log In to Comment