mirror of
https://github.com/genodelabs/genode.git
synced 2025-03-10 22:44:30 +00:00
autopilot: get settings via RUN_OPT_AUTOPILOT
If the variable RUN_OPT_AUTOPILOT is set the autopilot will override the default RUN_OPT settings provided in build.conf. Related to #1355.
This commit is contained in:
parent
55bf0bb294
commit
026b5a66c9
@ -305,6 +305,17 @@ foreach platform $platforms {
|
||||
exec echo "CUSTOM_CC = ccache \$(CROSS_DEV_PREFIX)gcc" >> $tools_conf
|
||||
exec echo "CUSTOM_CXX = ccache \$(CROSS_DEV_PREFIX)g++" >> $tools_conf
|
||||
}
|
||||
|
||||
if {[info exists ::env(RUN_OPT_AUTOPILOT)]} {
|
||||
set kernel [exec echo $platform |& sed {s/_.*//}]
|
||||
|
||||
# lx_hybrid is a special case, it also uses boot_dir/linux
|
||||
if {[string equal $kernel "lx"]} {
|
||||
set kernel linux
|
||||
}
|
||||
|
||||
exec echo "RUN_OPT=--include boot_dir/$kernel $::env(RUN_OPT_AUTOPILOT)" >> $build_conf
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user