usr.sbin: Gate bhyve/bhyvectl on MK_BHYVE for riscv

When this is false there is no libvmmapi, nor even its headers, for
these to build against.

Reported by:	Milan Obuch <[email protected]>
Fixes:		7ab1a32cd4 ("bhyve/riscv: Initial import.")
This commit is contained in:
Jessica Clarke committed 2025-06-13 18:56:51 +01:00
1 parent b7536f9593
commit 67f18e8d49
1 file changed
+2
+2
View File
@@ -1,2 +1,4 @@
.if ${MK_BHYVE} != "no"
SUBDIR+= bhyve
SUBDIR+= bhyvectl
.endif