#
# Build
#
if {[expr ![have_spec x86_64]]} {
puts "Run script is not supported on this platform."
exit 0
}
set use_top 0
set build_components {
core init timer
test/driver_time
}
append_if $use_top build_components { app/top }
source ${genode_dir}/repos/base/run/platform_drv.inc
append_platform_drv_build_components
build $build_components
create_boot_directory
# override default platform driver policy
proc platform_drv_policy {} {
return {
}
}
#
# Generate config
#
append config {
}
append_platform_drv_config
append_if $use_top config {
}
append config {
}
install_config $config
#
# Boot modules
#
# generic modules
set boot_modules {
core ld.lib.so init timer
test-driver_time
}
append_if $use_top boot_modules { top }
append_platform_drv_boot_modules
build_boot_image $boot_modules
append qemu_args "-nographic "
run_genode_until forever