#
# 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
#
create_boot_directory
import_from_depot genodelabs/src/[base_src] \
genodelabs/pkg/[drivers_interactive_pkg] \
genodelabs/src/init
if {![info exists fb_config]} {
set fb_config {} }
set fd [open [run_dir]/genode/fb_drv.config w]
puts $fd $fb_config
close $fd
install_config {
} $app_config {
}
build $build_components
build_boot_image $boot_modules
run_genode_until forever