source ${genode_dir}/repos/libports/run/qt5_common.inc set feature(Nic) 1 import_from_depot [depot_user]/src/arora \ [depot_user]/src/icu \ [depot_user]/src/libcrypto \ [depot_user]/src/libssl \ [depot_user]/src/qt5_network \ [depot_user]/src/qt5_printsupport \ [depot_user]/src/qt5_qnitpickerviewwidget \ [depot_user]/src/qt5_opengl \ [depot_user]/src/qt5_qpluginwidget \ [depot_user]/src/qt5_scriptclassic \ [depot_user]/src/qt5_sql \ [depot_user]/src/qt5_ui_tools \ [depot_user]/src/qt5_webkit \ [depot_user]/src/qt5_widgets \ [depot_user]/src/vfs_jitterentropy \ [depot_user]/src/vfs_lxip # # Build # append build_components [qt5_build_components feature] append build_components { server/clipboard server/loader server/tar_rom server/nit_fb app/launchpad test/nitpicker } build $build_components # # Generate tar archives with plugin configurations # exec tar cf bin/nitpicker_plugin.tar -C [genode_dir]/repos/ports/src/app/arora/demo/nitpicker_plugin config.plugin # # Generate config # append config { } append config [qt5_parent_provides feature] append config { } append config [qt5_start_nodes feature] append config { 2018-01-01 00:01 } install_config $config # # Boot modules # append boot_modules [qt5_boot_modules feature] append boot_modules { clipboard loader tar_rom nit_fb launchpad testnit nitpicker_plugin.tar } build_boot_image $boot_modules proc qemu_nic_model {} { if [have_spec x86] { return e1000 } if [have_spec lan9118] { return lan9118 } if [have_spec cadence_gem] { return cadence_gem } return nic_model_missing } append qemu_args " -netdev user,id=net0 " append qemu_args " -net nic,model=[qemu_nic_model],netdev=net0 " run_genode_until forever