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