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:
Ed Maste 2016-10-21 17:25:19 +00:00
parent afc7ee85ef
commit 1c32eff59b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=307741

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