# # Build # # the lwip/http_clnt requires FOC assert_spec foc set tcp_up_to_down_1 1 set tcp_up_to_down_2 1 set tcp_down_to_up_1 1 set udp_down_to_down_1 1 set udp_up_to_down_1 1 set udp_down_to_up_1 1 set build_components { core init drivers/timer drivers/nic server/nic_router server/nic_bridge test/lwip/http_srv_static test/lwip/http_clnt test/lxip/udp_echo test/lxip/udp_client } source ${genode_dir}/repos/base/run/platform_drv.inc append_platform_drv_build_components build $build_components create_boot_directory # # Generate config # append config { } append_platform_drv_config append config { } append_if $udp_down_to_down_1 config { } append_if $udp_up_to_down_1 config { } append_if $udp_down_to_up_1 config { } append_if $tcp_up_to_down_1 config { } append_if $tcp_up_to_down_2 config { } append_if $tcp_down_to_up_1 config { } append config { } install_config $config # # Boot modules # # generic modules set boot_modules { core init timer nic_drv nic_router nic_bridge ld.lib.so libc.lib.so libc_resolv.lib.so lwip.lib.so lxip.lib.so test-http_clnt test-lwip_httpsrv_static test-lxip_udp_echo test-lxip_udp_client } # platform-specific modules lappend_if [have_spec linux] boot_modules fb_sdl append_platform_drv_boot_modules build_boot_image $boot_modules # qemu config append qemu_args " -m 256 -nographic " append_if [have_spec x86] qemu_args " -net nic,model=e1000 " append_if [have_spec lan9118] qemu_args " -net nic,model=lan9118 " append qemu_args " -net user -redir udp:5555::1337 " run_genode_until ".*Test done.*\n.*Test done.*\n.*Test done.*\n.*Test done.*\n.*Test done.*\n.*Test done.*\n" 60