Use __DEFAULT_DEPENDENT_OPTIONS for articulating dependency relationship

between MK_STALE_STAGED and MK_STAGING instead of using equivalent ad hoc
logic.

MFC after:	1 month
This commit is contained in:
ngie 2017-07-24 18:21:01 +00:00
parent 65a25189c6
commit f602f06427

View File

@ -76,6 +76,7 @@ __DEFAULT_NO_OPTIONS = \
__DEFAULT_DEPENDENT_OPTIONS = \
STAGING_MAN/STAGING \
STAGING_PROG/STAGING \
STALE_STAGED/STAGING \
.include <bsd.mkopt.mk>
@ -99,10 +100,6 @@ MK_${var}:=no
.endif
.endfor
.if ${MK_STAGING} == "no"
MK_STALE_STAGED= no
.endif
.include <bsd.cpu.mk>
.endif # !_WITHOUT_SRCCONF