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:
parent
d1662e2f7e
commit
3877f6fdd8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user