On 17/02/2026 06.27, Sergei Heifetz wrote:
The idea of the `--disable-audio` option is to stop building audio-related
source files. Although this is not yet implemented, we can already make
the existing AUDIO Kconfig option a dependency for a number of devices so
that the build does not break when we remove `audio/` and other sources.

Note that some machines have embedded audio devices and therefore cannot
be used with `--disable-audio` at all. `-audio none` should be used for
such machines if audio needs to be muted.

The only device that is purposefully not included in this patch is PCSPK
(PC speaker), because its code has already been modified to work with
`--disable-audio`.

Signed-off-by: Sergei Heifetz <[email protected]>
---
  hw/audio/Kconfig | 21 ++++++++++++---------
  hw/usb/Kconfig   |  2 +-
  2 files changed, 13 insertions(+), 10 deletions(-)

Reviewed-by: Thomas Huth <[email protected]>


Reply via email to