diff options
Diffstat (limited to 'share/mk/bsd.init.mk')
-rw-r--r-- | share/mk/bsd.init.mk | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/share/mk/bsd.init.mk b/share/mk/bsd.init.mk index ec325c04ac58..74e477a74d18 100644 --- a/share/mk/bsd.init.mk +++ b/share/mk/bsd.init.mk @@ -1,12 +1,15 @@ # $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>__: .sinclude "local.init.mk" +.include <bsd.opts.mk> .if exists(${.CURDIR}/../Makefile.inc) .include "${.CURDIR}/../Makefile.inc" .endif |