Back out r351799

empty does not appear to work like I thought it did and it actively breaks
real LOCAL_MODULES usage, of which I have none at the moment...
This commit is contained in:
Kyle Evans 2019-09-04 14:32:04 +00:00
parent f99c5e8d28
commit 1f6453b126
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=351816

View File

@ -77,12 +77,10 @@ modules-${target}:
${target:S/^reinstall$/install/:S/^clobber$/cleandir/}
.endif
.for module in ${LOCAL_MODULES}
.if !empty(module)
@${ECHODIR} "===> ${module} (${target:S/^reinstall$/install/:S/^clobber$/cleandir/})"
@cd ${LOCAL_MODULES_DIR}/${module}; ${MKMODULESENV} ${MAKE} \
DIRPRFX="${module}/" \
${target:S/^reinstall$/install/:S/^clobber$/cleandir/}
.endif
.endfor
.endif
.endfor