Allow all subdirectories to be optional via SUBDIR.${MK_*}

Reviewed by:	br, imp
Tested by:	br
Pointy hat to:	emaste
Differential Revision:	https://reviews.freebsd.org/D8317
This commit is contained in:
emaste 2016-10-21 17:25:19 +00:00
parent f96afa6e71
commit 3b89a28b13

View File

@ -110,7 +110,7 @@ install: beforeinstall realinstall afterinstall
# SUBDIR recursing may be disabled for MK_DIRDEPS_BUILD
.if !target(_SUBDIR)
.if defined(SUBDIR)
.if defined(SUBDIR) || defined(SUBDIR.yes)
SUBDIR:=${SUBDIR} ${SUBDIR.yes}
SUBDIR:=${SUBDIR:u}
.endif