virtual_oss: Do not build if WITHOUT_CUSE is set

PR:		289920
Fixes:          9cab9fde5e ("virtual_oss: Port to base")
Sponsored by:	The FreeBSD Foundation
MFC after:	1 day
Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D52807
This commit is contained in:
Christos Margiolis 2025-09-30 19:01:37 +02:00
parent 2bdc89535a
commit f040ee6e40
3 changed files with 9 additions and 4 deletions

View file

@ -115,8 +115,7 @@ SUBDIR= ${SUBDIR_BOOTSTRAP} \
libz \
libzstd \
ncurses \
nss_tacplus \
virtual_oss
nss_tacplus
# Inter-library dependencies. When the makefile for a library contains LDADD
# libraries, those libraries should be listed as build order dependencies here.
@ -175,6 +174,7 @@ SUBDIR+= clang
.endif
SUBDIR.${MK_CUSE}+= libcuse
SUBDIR.${MK_CUSE}+= virtual_oss
SUBDIR.${MK_TOOLCHAIN}+=libpe
SUBDIR.${MK_DIALOG}+= libdpv libfigpar
SUBDIR.${MK_FDT}+= libfdt

View file

@ -75,7 +75,6 @@ CONFS= DAEMON \
ugidfw \
var \
var_run \
virtual_oss \
watchdogd
CONFGROUPS+= DEVD
@ -216,6 +215,12 @@ CCD= ccd
CCDPACKAGE= ccdconfig
.endif
.if ${MK_CUSE} != "no"
CONFGROUPS+= VOSS
VOSS= virtual_oss
VOSSPACKAGE= virtual_oss
.endif
.if ${MK_KERBEROS_SUPPORT} != "no"
CONFGROUPS+= GSSD
GSSD= gssd

View file

@ -99,7 +99,6 @@ SUBDIR= adduser \
valectl \
vigr \
vipw \
virtual_oss \
wake \
watch \
watchdogd \
@ -129,6 +128,7 @@ SUBDIR.${MK_BSNMP}+= bsnmpd
.if ${MK_CAROOT} != "no"
SUBDIR.${MK_OPENSSL}+= certctl
.endif
SUBDIR.${MK_CUSE}+= virtual_oss
SUBDIR.${MK_CXGBETOOL}+= cxgbetool
SUBDIR.${MK_EFI}+= efivar efidp efibootmgr efitable efiwake
.if ${MK_OPENSSL} != "no"