set build_components { core init virtualbox server/ram_fs drivers/input drivers/framebuffer drivers/timer } lappend_if [have_spec acpi] build_components drivers/acpi lappend_if [have_spec pci] build_components drivers/pci build $build_components create_boot_directory set config { } append_if [have_spec acpi] config { } append_if [expr ![have_spec acpi] && [have_spec pci]] config { } append_if [have_spec ps2] config { } append_if [have_spec framebuffer] config { } append_if [have_spec sdl] config { } append config { } install_config $config set boot_modules { core init timer virtualbox ram_fs test.iso } # platform-specific modules lappend_if [have_spec ps2] boot_modules ps2_drv lappend_if [have_spec acpi] boot_modules acpi_drv lappend_if [have_spec pci] boot_modules pci_drv lappend_if [have_spec framebuffer] boot_modules fb_drv lappend_if [have_spec linux] boot_modules fb_sdl lappend_if [have_spec nova] boot_modules pci_device_pd build_boot_image $boot_modules append qemu_args " -m 512 " append qemu_args " -cpu phenom " run_genode_until forever