diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2015-12-15 00:40:04 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2015-12-15 00:40:04 +0000 |
commit | 0e97c750e064f3a48cbdc50daf3abb898b7ac9f4 (patch) | |
tree | 7c91bbb0b78977be2beac204d51c06eefbe8bf4a /share/mk/src.libnames.mk | |
parent | de7420309fa89d8af4263fe3b5e773f59aedde64 (diff) | |
download | FreeBSD-src-0e97c750e064f3a48cbdc50daf3abb898b7ac9f4.zip FreeBSD-src-0e97c750e064f3a48cbdc50daf3abb898b7ac9f4.tar.gz |
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
Diffstat (limited to 'share/mk/src.libnames.mk')
-rw-r--r-- | share/mk/src.libnames.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/share/mk/src.libnames.mk b/share/mk/src.libnames.mk index e157e62..28c2368 100644 --- a/share/mk/src.libnames.mk +++ b/share/mk/src.libnames.mk @@ -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 |