The branch main has been updated by jrtc27:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=67f18e8d494f0a1f30663074d738ca8acdd9a3a2

commit 67f18e8d494f0a1f30663074d738ca8acdd9a3a2
Author:     Jessica Clarke <jrt...@freebsd.org>
AuthorDate: 2025-06-13 17:56:51 +0000
Commit:     Jessica Clarke <jrt...@freebsd.org>
CommitDate: 2025-06-13 17:56:51 +0000

    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-ri...@dino.sk>
    Fixes:          7ab1a32cd43c ("bhyve/riscv: Initial import.")
---
 usr.sbin/Makefile.riscv | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/usr.sbin/Makefile.riscv b/usr.sbin/Makefile.riscv
index a8897983059c..97a83e863f5d 100644
--- a/usr.sbin/Makefile.riscv
+++ b/usr.sbin/Makefile.riscv
@@ -1,2 +1,4 @@
+.if ${MK_BHYVE} != "no"
 SUBDIR+=       bhyve
 SUBDIR+=       bhyvectl
+.endif

Reply via email to