# # Build # set build_components { core init drivers/timer drivers/audio server/report_rom server/dynamic_rom app/audio_player } source ${genode_dir}/repos/base/run/platform_drv.inc append_platform_drv_build_components build $build_components create_boot_directory # # Config # append config { } append_platform_drv_config append config { } install_config $config # # Check audio files # if {[expr ![file exists bin/foo.flac] || ![file exists bin/foo.mp3] || ![file exists bin/foo.ogg]]} { puts "" puts "One or all audio files are missing. Please put 'foo.flac', 'foo.mp3' and" puts "'foo.ogg' into './bin' and execute this run script again. Note, that the" puts "duration of each of those files has to be below 10 seconds for this run" puts "script to work properly." puts "" exit 1 } # # Boot modules # set boot_modules { core init timer dynamic_rom report_rom audio_drv ld.lib.so libc.lib.so libm.lib.so zlib.lib.so avcodec.lib.so avformat.lib.so avutil.lib.so avresample.lib.so pthread.lib.so audio_player foo.mp3 foo.flac foo.ogg } append_platform_drv_boot_modules build_boot_image $boot_modules run_genode_until forever