diff options
Diffstat (limited to 'sys/conf/kmod.opts.mk')
-rw-r--r-- | sys/conf/kmod.opts.mk | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sys/conf/kmod.opts.mk b/sys/conf/kmod.opts.mk new file mode 100644 index 000000000000..cfb67400d050 --- /dev/null +++ b/sys/conf/kmod.opts.mk @@ -0,0 +1,16 @@ +# $FreeBSD$ +# +# Handle options (KERN_OPTS) for kernel module options. This can be included earlier in a kmod Makefile +# to allow KERN_OPTS to control SRCS, etc. + +.if !target(__<kmod.opts.mk>__) +__<kmod.opts.mk>__: + +.include <bsd.init.mk> +# Grab all the options for a kernel build. For backwards compat, we need to +# do this after bsd.own.mk. +.include "kern.opts.mk" +.include <bsd.compiler.mk> +.include "config.mk" + +.endif # !target(__<kmod.opts.mk>__) |