kernel: Define HAVE_KERNEL_OPTION_HEADERS when building kernel/modules.
authorSascha Wildner <saw@online.de>
Fri, 16 Jan 2015 08:54:35 +0000 (09:54 +0100)
committerSascha Wildner <saw@online.de>
Fri, 16 Jan 2015 08:56:16 +0000 (09:56 +0100)
commitfaba9d165d674313d4cbe33f47d15c4f66cb5c10
treee2f8531637047911531131ceeb65bc8c5538af1d
parentafdea04e155ac957fd076a174639b9afc60a94d0
kernel: Define HAVE_KERNEL_OPTION_HEADERS when building kernel/modules.

It gets defined when building the kernel and when building modules
along with the kernel.

FreeBSD wraps some of their #include "opt_blah.h" in it and it should
ease porting $stuff from them.

It also makes the kernel options of the sound stack actually work.
sys/conf/kern.pre.mk
sys/conf/kmod.mk