Prefer bsd.init.mk to src.opts.mk

Final sweep to prefer bsd.init.mk to src.opts.mk everywhere as a
design pattern.  The rule is that all Makefiles in this subtree should
start with .include <bsd.init.mk> so that we properly include
../Makefile.inc and defs.mk before anything else.

Sponsored by: Netflix
This commit is contained in:
Warner Losh 2017-11-06 15:22:17 +00:00
parent 6923ad3ada
commit 9b19f65c83
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=325484
6 changed files with 5 additions and 8 deletions

View File

@ -1,7 +1,5 @@
# $FreeBSD$
.include <src.opts.mk>
.include "defs.mk"
.if !defined(__BOOT_MAKEFILE_INC__)

View File

@ -1,6 +1,6 @@
# $FreeBSD$
.include <src.opts.mk>
.include <bsd.init.mk>
# In-tree GCC does not support __attribute__((ms_abi)), but gcc newer
# than 4.5 supports it.

View File

@ -3,9 +3,8 @@
MAN=
.include <src.opts.mk>
MK_SSP= no
.include <bsd.init.mk>
MK_SSP= no
LIB= geliboot
INTERNALLIB=

View File

@ -1,6 +1,6 @@
# $FreeBSD$
.include <src.opts.mk>
.include <bsd.init.mk>
SUBDIR= mbr pmbr boot0 boot0sio btx boot2 cdboot gptboot \
libi386 libfirewire loader

View File

@ -1,6 +1,6 @@
# $FreeBSD$
.include <src.opts.mk>
.include <bsd.init.mk>
MAN+= loader.8
.if ${MK_ZFS} != "no"

View File

@ -1,6 +1,6 @@
# $FreeBSD$
.include <src.opts.mk>
.include <bsd.init.mk>
SUBDIR= lib