#
# Build
#
set build_components { core init test/pci timer }
set use_acpica_as_acpi_drv 0
source ${genode_dir}/repos/base/run/platform_drv.inc
# override default platform driver policy
proc platform_drv_policy {} {
global use_acpica_as_acpi_drv
set policy ""
append_if $use_acpica_as_acpi_drv policy {
}
append policy {
}
return $policy
}
append_platform_drv_build_components
build $build_components
create_boot_directory
#
# Generate config
#
append config {
}
append_platform_drv_config
append config {
}
install_config $config
#
# Boot modules
#
# generic modules
set boot_modules {
core ld.lib.so init test-pci timer
}
# platform-specific modules
append_platform_drv_boot_modules
build_boot_image $boot_modules
append qemu_args "-nographic "
run_genode_until "--- Platform test finished ---.*\n" 10