Similar to r250143, optimize MODULES_OVERRIDE such that SUBDIR isn't

automatically defined if MODULES_OVERRIDE is defined

Approved by: jmmv (mentor)
Reviewed by: imp
Phabric: D578
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2014-08-11 17:04:04 +00:00
parent 2f40fb9ce2
commit 79785bbf3b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=269820

View File

@ -8,6 +8,9 @@ SUBDIR_PARALLEL=
# Modules that include binary-only blobs of microcode should be selectable by
# MK_SOURCELESS_UCODE option (see below).
.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES)
SUBDIR=${MODULES_OVERRIDE}
.else
SUBDIR= \
${_3dfx} \
${_3dfx_linux} \
@ -830,9 +833,6 @@ _sound= sound
_zfs= zfs
.endif
.endif
.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES)
SUBDIR=${MODULES_OVERRIDE}
.endif
.for reject in ${WITHOUT_MODULES}