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 <freebsd-riscv@dino.sk>
Fixes:		7ab1a32cd4 ("bhyve/riscv: Initial import.")
This commit is contained in:
Jessica Clarke 2025-06-13 18:56:51 +01:00
parent b7536f9593
commit 67f18e8d49

View file

@ -1,2 +1,4 @@
.if ${MK_BHYVE} != "no"
SUBDIR+= bhyve
SUBDIR+= bhyvectl
.endif