mirror of
https://github.com/opnsense/src.git
synced 2026-02-18 18:20:26 -05:00
bsd.mkopt.mk: Avoid warning from makeman
Setting WITHOUT_X where X is a __REQUIRED_OPTION produces a warning. This occurred during makeman's `make showconfig` invocatation, but the warning serves no purpose there, and clutters makeman's output. Skip the warning for the showconfig target used by makeman. Reviewed by: brooks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D49123 (cherry picked from commit 085c0641a2ea0dee2c58b5bc6e62790a164ebd52)
This commit is contained in:
parent
859aa726fb
commit
586bdc6f75
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ MK_${var}:= yes
|
|||
# step towards removing the options entirely.
|
||||
#
|
||||
.for var in ${__REQUIRED_OPTIONS}
|
||||
.if defined(WITHOUT_${var})
|
||||
.if defined(WITHOUT_${var}) && !make(showconfig)
|
||||
.warning WITHOUT_${var} option ignored: it is no longer supported
|
||||
.endif
|
||||
MK_${var}:= yes
|
||||
|
|
|
|||
Loading…
Reference in a new issue