]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Define HAVE_KERNEL_OPTION_HEADERS when building kernel and when building
authorglebius <glebius@FreeBSD.org>
Wed, 5 Oct 2005 10:05:55 +0000 (10:05 +0000)
committerglebius <glebius@FreeBSD.org>
Wed, 5 Oct 2005 10:05:55 +0000 (10:05 +0000)
commite2de919bb508d643b919555e8928a3ce4e6d1259
treec08c9c0d19b1ce3a404c66f29a4a0a2a02fbefeb
parenta358b1f631f4f2d790b8e98b419e92c9090ad6dd
Define HAVE_KERNEL_OPTION_HEADERS when building kernel and when building
modules along with kernel.

After this change it is possible to embrace opt_*.h includes with ifdef
HAVE_KERNEL_OPTION_HEADERS. And thus, avoid editing a lot of Makefiles
in modules directory each time we introduce a new opt_xxx.h.

Requested by: bde
sys/conf/kern.pre.mk
sys/conf/kmod.mk