Fix usb_storage.run for non-PC platforms

On non-PC platforms, the variable 'build' remains undefined, which lets
the 'build $build' step fail. Use the traditional 'build_components'
variable instead. As a further plus, this avoids multiple passes of the
build system.
This commit is contained in:
Norman Feske 2013-09-12 21:05:39 +02:00
parent 9f3c4c227e
commit 33305dd08d
1 changed files with 6 additions and 6 deletions

View File

@ -8,19 +8,19 @@
# Build
#
build {
set build_components {
core init
drivers/timer
drivers/usb
test/block
}
lappend_if [have_spec acpi] build drivers/acpi
lappend_if [have_spec pci] build drivers/pci
lappend_if [have_spec pci] build drivers/pci/device_pd
lappend_if [have_spec platform_arndale] build drivers/platform
lappend_if [have_spec acpi] build_components drivers/acpi
lappend_if [have_spec pci] build_components drivers/pci
lappend_if [have_spec pci] build_components drivers/pci/device_pd
lappend_if [have_spec platform_arndale] build_components drivers/platform
build $build
build $build_components
create_boot_directory