# # 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 drivers/platform test/driver_time } append_if $use_top build_components { app/top } build $build_components create_boot_directory append config { } append_if $use_top config { } append config { } install_config $config # # Boot modules # file copy [select_from_repositories board/[board]/devices] [run_dir]/genode/devices # generic modules set boot_modules { core ld.lib.so init timer platform_drv test-driver_time } append_if $use_top boot_modules { top } build_boot_image $boot_modules append qemu_args "-nographic " run_genode_until forever