xref: /freebsd/sys/conf/kmod.opts.mk (revision 214e3e09b3381e44bf5d9c1dcd19c4b1b923a796)
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