mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-29 15:44:02 +00:00
hw: link core with debug symbols optionally
This commit changes the semantic of run_boot_dir to link a core binary with debug symbols only when the designated library is in place. Follow-up fix refering to issues #2339 and #2700
This commit is contained in:
parent
37b08797c0
commit
bad002acb1
@ -74,8 +74,10 @@ proc run_boot_dir {binaries} {
|
|||||||
set bootstrap_obj bootstrap-hw.o
|
set bootstrap_obj bootstrap-hw.o
|
||||||
|
|
||||||
# create core and bootstrap binary without modules for debugging
|
# create core and bootstrap binary without modules for debugging
|
||||||
build_core debug/$core_obj {} [run_dir].core [core_link_address]
|
if {[file exists debug/$core_obj]} {
|
||||||
build_core [run_dir]/genode/$bootstrap_obj {} [run_dir].bootstrap [bootstrap_link_address]
|
build_core debug/$core_obj {} [run_dir].core [core_link_address]
|
||||||
|
build_core [run_dir]/genode/$bootstrap_obj {} [run_dir].bootstrap [bootstrap_link_address]
|
||||||
|
}
|
||||||
|
|
||||||
# determine modules to be incorporated into the core image
|
# determine modules to be incorporated into the core image
|
||||||
set modules [glob -tails -directory [run_dir]/genode/ *]
|
set modules [glob -tails -directory [run_dir]/genode/ *]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user