run: save [run_dir].config also on hw and linux
This was missing as boot_dir/hw and boot_dir/linux do not use `proc build_core_image`.
This commit is contained in:
parent
b06ec370d1
commit
28c25f120e
|
@ -96,6 +96,10 @@ proc run_boot_dir {binaries} {
|
||||||
build_core [run_dir]/genode/$core_obj $modules [run_dir]/genode/core.elf [core_link_address]
|
build_core [run_dir]/genode/$core_obj $modules [run_dir]/genode/core.elf [core_link_address]
|
||||||
exec [cross_dev_prefix]strip [run_dir]/genode/core.elf
|
exec [cross_dev_prefix]strip [run_dir]/genode/core.elf
|
||||||
build_core [run_dir]/genode/$bootstrap_obj { core.elf } [run_dir]/image.elf [bootstrap_link_address]
|
build_core [run_dir]/genode/$bootstrap_obj { core.elf } [run_dir]/image.elf [bootstrap_link_address]
|
||||||
|
|
||||||
|
# Save config part of the image.elf for easy inspection
|
||||||
|
exec cp -f [run_dir]/genode/config [run_dir].config
|
||||||
|
|
||||||
remove_genode_dir
|
remove_genode_dir
|
||||||
exec [cross_dev_prefix]strip [run_dir]/image.elf
|
exec [cross_dev_prefix]strip [run_dir]/image.elf
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,9 @@ proc run_boot_dir {binaries} {
|
||||||
# check syntax of all boot modules named *.config
|
# check syntax of all boot modules named *.config
|
||||||
foreach file [glob -nocomplain [run_dir]/genode/*.config] {
|
foreach file [glob -nocomplain [run_dir]/genode/*.config] {
|
||||||
check_xml_syntax $file }
|
check_xml_syntax $file }
|
||||||
|
|
||||||
|
# Save config part of the image.elf for easy inspection
|
||||||
|
exec cp -f [run_dir]/genode/config [run_dir].config
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue