qt5: fix audio driver support on Linux

The lx_hybrid audio driver must be started with the 'ld="no"' argument.
This commit is contained in:
Norman Feske 2020-05-13 14:06:39 +02:00
parent adb48b5c9e
commit 4002653334
2 changed files with 9 additions and 1 deletions

View File

@ -49,6 +49,14 @@ proc audio_drv_binary { } {
return no_audio_drv_available
}
##
# Return attributes of the audio driver's <start> node
#
proc audio_drv_start_attr { } {
if {[have_spec linux]} { return {ld="no"} }
return ""
}
proc acpi_drv_name { } {
global use_acpica_as_acpi_drv
if {[info exists use_acpica_as_acpi_drv] && $use_acpica_as_acpi_drv} {

View File

@ -167,7 +167,7 @@ proc drivers_start_nodes { feature_arg } {
append start_nodes [platform_drv_config]
append_if [use_audio_drv feature] start_nodes {
<start name="audio_drv">
<start name="audio_drv" } [audio_drv_start_attr] {>
<binary name="} [audio_drv_binary] {"/>
<resource name="RAM" quantum="8M"/>
<provides><service name="Audio_out"/></provides>