Enable NO_ make variable deprecation warning

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D5495
This commit is contained in:
Ed Maste 2016-02-29 17:57:11 +00:00
parent fa078c432f
commit a304b6d089

View File

@ -101,8 +101,7 @@ __DEFAULT_NO_OPTIONS:= ${__DEFAULT_NO_OPTIONS:NFAST_DEPEND}
PROFILE \
WARNS
.if defined(NO_${var})
# This warning may be premature...
#.warning "NO_${var} is defined, but deprecated. Please use MK_${var}=no instead."
.warning "NO_${var} is defined, but deprecated. Please use MK_${var}=no instead."
MK_${var}:=no
.endif
.endfor