mk: Disable blacklist when disabling blocklist

WITHOUT_BLOCKLIST, when set, should enforce WITHOUT_BLACKLIST.
This fixes the build when WITHOUT_BLOCKLIST=yes is set.

Reported by:	ivy
Reviewed by:	ivy
Fixes:		7238317403 ("blocklist: Rename blacklist to blocklist")
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D56118
This commit is contained in:
Jose Luis Duran
2026-03-29 16:14:50 +00:00
parent 4f0d0ed5cb
commit 0d9676e1ca
2 changed files with 26 additions and 1 deletions
+8
View File
@@ -407,6 +407,14 @@ MK_BLOCKLIST:= no
MK_BLOCKLIST_SUPPORT:= no
.endif
.if ${MK_BLOCKLIST} == "no"
MK_BLACKLIST:= no
.endif
.if ${MK_BLOCKLIST_SUPPORT} == "no"
MK_BLACKLIST_SUPPORT:= no
.endif
.if ${MK_CDDL} == "no"
MK_CTF:= no
MK_DTRACE:= no