1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00

Include the kernel options after bsd.init.mk so that when we're

compiling on older systems that define all the MK variables in
bsd.own.mk we don't get the multiply defined error for options that
live in both.
This commit is contained in:
Warner Losh 2014-08-04 22:34:56 +00:00
parent 009a196247
commit b0a8d404e5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=269539

View File

@ -65,9 +65,10 @@ KMODLOAD?= /sbin/kldload
KMODUNLOAD?= /sbin/kldunload
OBJCOPY?= objcopy
# Grab all the options for a kernel build.
.include "kern.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>
.SUFFIXES: .out .o .c .cc .cxx .C .y .l .s .S