# # Build # set build_components { core init drivers/timer drivers/framebuffer drivers/input server/dynamic_rom server/nitpicker server/report_rom app/pointer app/menu_view app/scout app/launchpad app/launcher test/nitpicker server/nit_fader server/rom_filter server/wm app/decorator app/floating_window_layouter app/status_bar server/nit_fb app/backdrop app/xray_trigger } 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_if [have_spec sdl] config { } append_platform_drv_config append_if [have_spec framebuffer] config { } append_if [have_spec ps2] config { } append config { <minimizer/> <maximizer/> <closer/> </controls> </inline> <if> <has_value input="xray_enabled" value="yes" /> <then> <inline> <default-policy color="#ff0000" gradient="75" /> </inline> </then> </if> </output> </config> <route> <service name="ROM"> <child name="report_rom"/> </service> <any-service> <parent/> </any-service> </route> </start> <start name="launcher"> <resource name="RAM" quantum="60M" /> <config focus_prefix="wm -> launcher -> "> <subsystem name="scout" title="Scout"> <resource name="RAM" quantum="20M" /> <binary name="scout" /> </subsystem> <subsystem name="testnit1" title="Nitpicker Test"> <resource name="RAM" quantum="2M" /> <binary name="testnit" /> </subsystem> <subsystem name="testnit2" title="Nitpicker Test 2"> <resource name="RAM" quantum="2M" /> <binary name="testnit" /> </subsystem> <subsystem name="testnit3" title="Nitpicker Test 3"> <resource name="RAM" quantum="2M" /> <binary name="testnit" /> </subsystem> <subsystem name="scout2" title="Scoutx"> <resource name="RAM" quantum="20M" /> <binary name="scout" /> </subsystem> <subsystem name="testnit4" title="Nitpicker Testx"> <resource name="RAM" quantum="2M" /> <binary name="testnit" /> </subsystem> <subsystem name="testnit5" title="Nitpicker Test5"> <resource name="RAM" quantum="2M" /> <binary name="testnit" /> </subsystem> <subsystem name="backdrop" title="Backdrop"> <resource name="RAM" quantum="4M"/> <binary name="backdrop" /> <config> <libc> <vfs> </vfs> </libc> <fill color="#224433" /> </config> </subsystem> </config> <route> <service name="ROM"> <if-arg key="label" value="focus"/> <child name="report_rom" /> </service> <any-service> <child name="wm"/> <parent/> <any-child/> </any-service> </route> </start> </config>} install_config $config # # Boot modules # # generic modules set boot_modules { core init timer dynamic_rom nitpicker pointer menu_view ld.lib.so libpng.lib.so libc.lib.so libm.lib.so zlib.lib.so menu_view_styles.tar scout launchpad testnit nit_fader report_rom launcher rom_filter xray_trigger decorator wm floating_window_layouter status_bar nit_fb backdrop } # platform-specific modules append_platform_drv_boot_modules lappend_if [have_spec linux] boot_modules fb_sdl lappend_if [have_spec ps2] boot_modules ps2_drv lappend_if [have_spec framebuffer] boot_modules fb_drv build_boot_image $boot_modules run_genode_until forever