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:
parent
4c69a17ff9
commit
5f65e20c64
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=321431
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user