|
|
|
@ -37,9 +37,10 @@ set build_components {
|
|
|
|
|
set use_usb_driver [expr [have_spec omap4] || [have_spec exynos5]]
|
|
|
|
|
set use_nic_driver [expr !$use_usb_driver]
|
|
|
|
|
|
|
|
|
|
lappend_if $use_usb_driver build_components drivers/usb
|
|
|
|
|
lappend_if [have_spec acpi] build_components drivers/acpi
|
|
|
|
|
lappend_if [have_spec pci] build_components drivers/pci/device_pd
|
|
|
|
|
lappend_if $use_usb_driver build_components drivers/usb
|
|
|
|
|
lappend_if [have_spec acpi] build_components drivers/acpi
|
|
|
|
|
lappend_if [have_spec pci] build_components drivers/pci/device_pd
|
|
|
|
|
lappend_if [have_spec platform_arndale] build_components drivers/platform
|
|
|
|
|
|
|
|
|
|
build $build_components
|
|
|
|
|
|
|
|
|
@ -75,6 +76,13 @@ set config {
|
|
|
|
|
<resource name="RAM" quantum="3M"/>
|
|
|
|
|
</start> }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
append_if [have_spec platform_arndale] config {
|
|
|
|
|
<start name="platform_drv">
|
|
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
|
<provides><service name="Regulator"/></provides>
|
|
|
|
|
</start>}
|
|
|
|
|
|
|
|
|
|
append_if $use_usb_driver config {
|
|
|
|
|
<start name="usb_drv">
|
|
|
|
|
<resource name="RAM" quantum="12M"/>
|
|
|
|
@ -129,11 +137,12 @@ 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 $use_usb_driver boot_modules usb_drv
|
|
|
|
|
lappend_if $use_nic_driver boot_modules nic_drv
|
|
|
|
|
lappend_if [have_spec nova] boot_modules pci_device_pd
|
|
|
|
|
lappend_if [have_spec acpi] boot_modules acpi_drv
|
|
|
|
|
lappend_if [have_spec pci] boot_modules pci_drv
|
|
|
|
|
lappend_if $use_usb_driver boot_modules usb_drv
|
|
|
|
|
lappend_if $use_nic_driver boot_modules nic_drv
|
|
|
|
|
lappend_if [have_spec nova] boot_modules pci_device_pd
|
|
|
|
|
lappend_if [have_spec platform_arndale] boot_modules platform_drv
|
|
|
|
|
|
|
|
|
|
build_boot_image $boot_modules
|
|
|
|
|
|
|
|
|
|