Move include of site.src.opts.mk to allow more control

Sometimes a site may have different policy needs,
include site.src.opts.mk just before bsd.mkopt.mk to allow
more control.

Reviewed by: imp
This commit is contained in:
Simon J. Gerraty 2023-04-17 10:44:37 -07:00
parent 3232b1f4a9
commit c4c981c1e6

View File

@ -239,8 +239,6 @@ __DEFAULT_DEPENDENT_OPTIONS= \
__DEFAULT_DEPENDENT_OPTIONS+= ${var}_SUPPORT/${var}
.endfor
.-include <site.src.opts.mk>
#
# Default behaviour of some options depends on the architecture. Unfortunately
# this means that we have to test TARGET_ARCH (the buildworld case) as well
@ -365,6 +363,8 @@ __DEFAULT_NO_OPTIONS+=NETLINK
__DEFAULT_NO_OPTIONS+=NETLINK_SUPPORT
.endif
.-include <site.src.opts.mk>
.include <bsd.mkopt.mk>
#