Fix typo in variable name (_REDUNDENT_LIB_DIRS -> _REDUNDANT_LIB_DIRS)
MFC after: 3 days Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
f02396d5d9
commit
c6dc13326b
@ -242,10 +242,10 @@ SUBDIR+= ${_DIR}
|
||||
# of a LOCAL_DIRS directory. This allows LOCAL_DIRS=foo and
|
||||
# LOCAL_LIB_DIRS=foo/lib to behave as expected.
|
||||
.for _DIR in ${LOCAL_DIRS:M*/} ${LOCAL_DIRS:N*/:S|$|/|}
|
||||
_REDUNDENT_LIB_DIRS+= ${LOCAL_LIB_DIRS:M${_DIR}*}
|
||||
_REDUNDANT_LIB_DIRS+= ${LOCAL_LIB_DIRS:M${_DIR}*}
|
||||
.endfor
|
||||
.for _DIR in ${LOCAL_LIB_DIRS}
|
||||
.if empty(_REDUNDENT_LIB_DIRS:M${_DIR}) && exists(${.CURDIR}/${_DIR}/Makefile)
|
||||
.if empty(_REDUNDANT_LIB_DIRS:M${_DIR}) && exists(${.CURDIR}/${_DIR}/Makefile)
|
||||
SUBDIR+= ${_DIR}
|
||||
.else
|
||||
.warning ${_DIR} not added to SUBDIR list. See UPDATING 20141121.
|
||||
|
Loading…
Reference in New Issue
Block a user