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