mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Include bsd.opts.mk before Makefile.inc so Makefile.inc can do things
based on MK_xxx symbols. Continue to include bsd.own.mk after Makefile.inc to preserve current behavior.
This commit is contained in:
parent
0d87af1981
commit
8609cb7bfd
1 changed files with 6 additions and 3 deletions
|
|
@ -1,11 +1,14 @@
|
|||
# $FreeBSD$
|
||||
|
||||
# The include file <bsd.init.mk> includes ../Makefile.inc and
|
||||
# <bsd.own.mk>; this is used at the top of all <bsd.*.mk> files
|
||||
# that actually "build something".
|
||||
# The include file <bsd.init.mk> includes <bsd.opts.mk>,
|
||||
# ../Makefile.inc and <bsd.own.mk>; this is used at the
|
||||
# top of all <bsd.*.mk> files that actually "build something".
|
||||
# bsd.opts.mk is included early so Makefile.inc can use the
|
||||
# MK_FOO variables.
|
||||
|
||||
.if !target(__<bsd.init.mk>__)
|
||||
__<bsd.init.mk>__:
|
||||
.include <bsd.opts.mk>
|
||||
.if exists(${.CURDIR}/../Makefile.inc)
|
||||
.include "${.CURDIR}/../Makefile.inc"
|
||||
.endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue