mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-31 14:40:54 +00:00
parent
4ac0bd514f
commit
7a006ccf50
@ -5,6 +5,12 @@
|
|||||||
if {[have_spec odroid_xu]} {
|
if {[have_spec odroid_xu]} {
|
||||||
puts "Run script not supported for this platform."; exit 0 }
|
puts "Run script not supported for this platform."; exit 0 }
|
||||||
|
|
||||||
|
set fb_drv "fb_drv"
|
||||||
|
|
||||||
|
if {[have_include "image/uefi"]} {
|
||||||
|
set fb_drv "fb_boot_drv"
|
||||||
|
}
|
||||||
|
|
||||||
set build_components { core init test/framebuffer drivers/framebuffer drivers/timer }
|
set build_components { core init test/framebuffer drivers/framebuffer drivers/timer }
|
||||||
|
|
||||||
source ${genode_dir}/repos/base/run/platform_drv.inc
|
source ${genode_dir}/repos/base/run/platform_drv.inc
|
||||||
@ -51,8 +57,8 @@ append_if [have_spec sdl] config {
|
|||||||
append_platform_drv_config
|
append_platform_drv_config
|
||||||
|
|
||||||
append_if [have_spec framebuffer] config {
|
append_if [have_spec framebuffer] config {
|
||||||
<start name="fb_drv" caps="200">
|
<start name="} $fb_drv {" caps="200">
|
||||||
<resource name="RAM" quantum="4M"/>
|
<resource name="RAM" quantum="32M"/>
|
||||||
<provides><service name="Framebuffer"/></provides>
|
<provides><service name="Framebuffer"/></provides>
|
||||||
</start>}
|
</start>}
|
||||||
|
|
||||||
@ -78,7 +84,7 @@ set boot_modules {
|
|||||||
append_platform_drv_boot_modules
|
append_platform_drv_boot_modules
|
||||||
|
|
||||||
lappend_if [have_spec sdl] boot_modules fb_sdl
|
lappend_if [have_spec sdl] boot_modules fb_sdl
|
||||||
lappend_if [have_spec framebuffer] boot_modules fb_drv
|
lappend_if [have_spec framebuffer] boot_modules $fb_drv
|
||||||
|
|
||||||
build_boot_image $boot_modules
|
build_boot_image $boot_modules
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user