# # This is a skeleton for simple interactive system scenarios that solely rely # on a framebuffer and input device. The following variables should/can be # defined prior including this file: # # fb_config - optional XML config to be passed to the fb_drv # build_components - application-specific build supplements # boot_modules - application-specific boot modules # app_config - start node(s) of init for running the application # if {![info exists fb_config]} { set fb_config {} } # # Build # append build_components { core init drivers/timer drivers/framebuffer drivers/input } lappend_if [have_spec usb] build_components drivers/usb source ${genode_dir}/repos/base/run/platform_drv.inc # override default platform driver policy proc platform_drv_policy {} { return { } } append_platform_drv_build_components build $build_components create_boot_directory # # Generate config # append config { } append_platform_drv_config if {[have_spec sdl]} { append config { } append config $fb_config append config { } } if {[have_spec framebuffer]} { append config { } append config $fb_config append config { } } append_if [have_spec ps2] config { } append_if [expr ![have_spec ps2] && [have_spec usb]] config { } append config { } append config $app_config append config { } install_config $config # # Boot modules # # generic modules append boot_modules { core init timer ld.lib.so } # platform-specific modules lappend_if [have_spec linux] boot_modules fb_sdl lappend_if [have_spec framebuffer] boot_modules fb_drv lappend_if [have_spec ps2] boot_modules ps2_drv lappend_if [have_spec usb] boot_modules usb_drv append_platform_drv_boot_modules build_boot_image $boot_modules run_genode_until forever