|
|
|
@ -6,17 +6,15 @@
|
|
|
|
|
set build_components {
|
|
|
|
|
core init
|
|
|
|
|
drivers/timer
|
|
|
|
|
drivers/audio_out
|
|
|
|
|
server/mixer
|
|
|
|
|
test/audio_out
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# platform-specific components
|
|
|
|
|
if {[have_spec linux]} {
|
|
|
|
|
lappend build_components drivers/audio_out
|
|
|
|
|
} else {
|
|
|
|
|
if {![have_spec linux]} {
|
|
|
|
|
lappend build_components drivers/pci
|
|
|
|
|
lappend build_components drivers/acpi
|
|
|
|
|
lappend build_components drivers/oss
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
build $build_components
|
|
|
|
@ -63,29 +61,36 @@ if {![have_spec linux]} {
|
|
|
|
|
</route>
|
|
|
|
|
</start>
|
|
|
|
|
<start name="audio_out_drv">
|
|
|
|
|
<binary name="oss_drv" />
|
|
|
|
|
<resource name="RAM" quantum="6M"/>
|
|
|
|
|
<route>
|
|
|
|
|
<service name="IRQ"><child name="acpi" /></service>
|
|
|
|
|
<any-service> <parent /> <any-child /></any-service>
|
|
|
|
|
</route>
|
|
|
|
|
<provides>
|
|
|
|
|
<service name="Audio_out"/>
|
|
|
|
|
<service name="Audio_out" />
|
|
|
|
|
</provides>
|
|
|
|
|
</start>
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
append config {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
append config {
|
|
|
|
|
<start name="audio_out_drv">
|
|
|
|
|
<resource name="RAM" quantum="1M" />
|
|
|
|
|
<resource name="RAM" quantum="6M"/>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
append_if [expr ![have_spec linux]] config {
|
|
|
|
|
<route>
|
|
|
|
|
<service name="IRQ"><child name="acpi" /></service>
|
|
|
|
|
<any-service> <parent /> <any-child /></any-service>
|
|
|
|
|
</route>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
append config {
|
|
|
|
|
<provides>
|
|
|
|
|
<service name="Audio_out" />
|
|
|
|
|
<service name="Audio_out"/>
|
|
|
|
|
</provides>
|
|
|
|
|
</start>
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
append config {
|
|
|
|
|
<start name="timer">
|
|
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
|
<provides><service name="Timer"/></provides>
|
|
|
|
@ -124,6 +129,7 @@ install_config $config
|
|
|
|
|
set boot_modules {
|
|
|
|
|
core init
|
|
|
|
|
timer
|
|
|
|
|
audio_out_drv
|
|
|
|
|
test-audio_out
|
|
|
|
|
sample.raw
|
|
|
|
|
vogel.f32
|
|
|
|
@ -131,10 +137,7 @@ set boot_modules {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# platform-specific components
|
|
|
|
|
if {[have_spec linux]} {
|
|
|
|
|
lappend boot_modules audio_out_drv
|
|
|
|
|
} else {
|
|
|
|
|
lappend boot_modules oss_drv
|
|
|
|
|
if {![have_spec linux]} {
|
|
|
|
|
lappend boot_modules acpi_drv
|
|
|
|
|
lappend boot_modules pci_drv
|
|
|
|
|
}
|
|
|
|
|