# # Build # if {![have_spec linux]} { puts "This run script requires linux!" exit 1 } set build_components { core init drivers/timer server/ram_fs drivers/framebuffer server/dynamic_rom server/report_rom server/nitpicker server/fs_rom server/wm app/pointer app/floating_window_layouter app/decorator app/mixer_gui_qt } source ${genode_dir}/repos/base/run/platform_drv.inc append_platform_drv_build_components build $build_components create_boot_directory # # Generate config # set config { } append_platform_drv_config append_if [have_spec sdl] config { } append config { } append config { } append config { } install_config $config # # Prepare resources needed by the application # # get fonts exec rm -rf bin/qt5_fs/mixer_gui_qt/qt exec mkdir -p bin/qt5_fs/mixer_gui_qt/qt/lib exec ln -sf [pwd]/bin/qt5_fs/qt/lib/fonts bin/qt5_fs/mixer_gui_qt/qt/lib/fonts # create tar archive containg Qt5 resources exec tar chf bin/qt5_fs_mixer_gui_qt.tar -C bin/qt5_fs/mixer_gui_qt . # # Boot modules # set boot_modules { core init timer ld.lib.so libc.lib.so report_rom dynamic_rom ram_fs fs_rom qt5_gui.lib.so qt5_widgets.lib.so qt5_xml.lib.so qt5_core.lib.so freetype.lib.so gallium.lib.so icu.lib.so libc_pipe.lib.so libm.lib.so libpng.lib.so jpeg.lib.so zlib.lib.so stdcxx.lib.so pthread.lib.so mixer_gui_qt qt5_fs_mixer_gui_qt.tar nitpicker wm pointer floating_window_layouter decorator } append_platform_drv_boot_modules lappend_if [have_spec linux] boot_modules fb_sdl build_boot_image $boot_modules run_genode_until forever # vi: set ft=tcl :