Add comment about OBJTOP not yet being defined outside of META MODE.
It is fine for the purpose of the check though. Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
aaa345b8ae
commit
382cab60bd
@ -519,6 +519,8 @@ _BADLIBADD+= ${_l}
|
||||
(!defined(_DP_${LIB}) || ${LIBADD:O:u} != ${_DP_${LIB}:O:u})
|
||||
.error ${.CURDIR}: Missing or incorrect _DP_${LIB} entry in ${_this:T}. Should match LIBADD for ${LIB} ('${LIBADD}' vs '${_DP_${LIB}}')
|
||||
.endif
|
||||
# Note that OBJTOP is not yet defined here but for the purpose of the check
|
||||
# it is fine as it resolves to the SRC directory.
|
||||
.if !defined(LIB${LIB:tu}DIR) || !exists(${SRCTOP}/${LIB${LIB:tu}DIR:S,^${OBJTOP}/,,})
|
||||
.error ${.CURDIR}: Missing or incorrect value for LIB${LIB:tu}DIR in ${_this:T}: ${LIB${LIB:tu}DIR:S,^${OBJTOP}/,,}
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user