run boot_dir hw: build debug ELF binaries again

- build debug version of core and bootstrap found under
  _var/run/<runscript>.core_ (.bootstrap). This is a regression when
  switching from object to archive library linkage of core.

fixes #4027
This commit is contained in:
Sebastian Sumpf 2021-03-03 14:48:45 +01:00 committed by Norman Feske
parent aa0a98bd43
commit bebba3876e

View File

@ -72,7 +72,7 @@ proc run_boot_dir {binaries} {
set bootstrap_obj bootstrap-hw-[board].o
# create core and bootstrap binary without modules for debugging
if {[file exists debug/core-hw-[board].o]} {
if {[file exists debug/core-hw-[board].a]} {
build_core debug/core-hw-[board].a {} [run_dir].core [core_link_address]
build_core [run_dir]/genode/$bootstrap_obj {} [run_dir].bootstrap [bootstrap_link_address]
}