lwip: adjust run script to run with new pci_drv

This commit is contained in:
Alexander Boettcher 2013-02-20 11:43:15 +01:00 committed by Norman Feske
parent 269efd1d6d
commit 751af95b46
1 changed files with 20 additions and 2 deletions

View File

@ -35,6 +35,8 @@ set build_components {
}
lappend_if [have_spec omap4] build_components drivers/usb
lappend_if [have_spec acpi] build_components drivers/acpi
lappend_if [have_spec pci] build_components drivers/pci/device_pd
build $build_components
@ -87,9 +89,23 @@ append_if [expr ![have_spec omap4]] config {
<provides><service name="Nic"/></provides>
</start>}
append_if [have_spec pci] config {
append_if [have_spec acpi] config {
<start name="acpi">
<resource name="RAM" quantum="5M"/>
<binary name="acpi_drv"/>
<provides>
<service name="PCI"/>
<service name="IRQ" />
</provides>
<route>
<service name="PCI"> <any-child /> </service>
<any-service> <parent/> <any-child /> </any-service>
</route>
</start>}
append_if [expr ![have_spec acpi] && [have_spec pci]] config {
<start name="pci_drv">
<resource name="RAM" quantum="1M"/>
<resource name="RAM" quantum="3M"/>
<provides> <service name="PCI"/> </provides>
</start> }
@ -110,9 +126,11 @@ set boot_modules {
}
# platform-specific modules
lappend_if [have_spec acpi] boot_modules acpi_drv
lappend_if [have_spec pci] boot_modules pci_drv
lappend_if [have_spec omap4] boot_modules usb_drv
lappend_if [expr ![have_spec omap4]] boot_modules nic_drv
lappend_if [have_spec nova] boot_modules pci_device_pd
build_boot_image $boot_modules