xref: /freebsd/sys/conf/kmod.opts.mk (revision a90b9d0159070121c221b966469c3e36d912bf82)
1#
2# Handle options (KERN_OPTS) for kernel module options.  This can be included earlier in a kmod Makefile
3# to allow KERN_OPTS to control SRCS, etc.
4
5.if !target(__<kmod.opts.mk>__)
6__<kmod.opts.mk>__:
7
8.include <bsd.init.mk>
9# Grab all the options for a kernel build. For backwards compat, we need to
10# do this after bsd.own.mk.
11.include "kern.opts.mk"
12.include <bsd.compiler.mk>
13.include "config.mk"
14
15.endif #  !target(__<kmod.opts.mk>__)
16