mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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:
parent
6923ad3ada
commit
9b19f65c83
6 changed files with 5 additions and 8 deletions
|
|
@ -1,7 +1,5 @@
|
|||
# $FreeBSD$
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
.include "defs.mk"
|
||||
|
||||
.if !defined(__BOOT_MAKEFILE_INC__)
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -3,9 +3,8 @@
|
|||
|
||||
MAN=
|
||||
|
||||
.include <src.opts.mk>
|
||||
MK_SSP= no
|
||||
.include <bsd.init.mk>
|
||||
MK_SSP= no
|
||||
|
||||
LIB= geliboot
|
||||
INTERNALLIB=
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# $FreeBSD$
|
||||
|
||||
.include <src.opts.mk>
|
||||
.include <bsd.init.mk>
|
||||
|
||||
MAN+= loader.8
|
||||
.if ${MK_ZFS} != "no"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# $FreeBSD$
|
||||
|
||||
.include <src.opts.mk>
|
||||
.include <bsd.init.mk>
|
||||
|
||||
SUBDIR= lib
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue