Now that all the NO_foo expressed in this loop have been removed from

the tree, start warning that NO_foo is deprecated. It was supposed to
be gone from the tree as a user-setting a long time ago...
This commit is contained in:
Warner Losh 2014-04-25 19:25:37 +00:00
parent 98407b8bc2
commit c772d4925c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=264929

View File

@ -244,7 +244,7 @@ __DEFAULT_YES_OPTIONS+=GCC GNUCXX GCC_BOOTSTRAP
# Supported NO_* options (if defined, MK_* will be forced to "no",
# regardless of user's setting).
#
# These are transitional and will disappaer in the fullness of time.
# These are transitional and will disappaer in the FreeBSD 12.
#
.for var in \
CTF \
@ -253,6 +253,7 @@ __DEFAULT_YES_OPTIONS+=GCC GNUCXX GCC_BOOTSTRAP
MAN \
PROFILE
.if defined(NO_${var})
.warning "NO_${var} is defined, but deprecated. Please use MK_${var}=no instead."
MK_${var}:=no
.endif
.endfor