Provide copy of config file of a run scenario

Fixes #2213
This commit is contained in:
Alexander Boettcher 2017-02-09 14:04:04 +01:00 committed by Norman Feske
parent eea00ab8b0
commit 54865fdd0f
1 changed files with 3 additions and 0 deletions

View File

@ -785,6 +785,9 @@ proc build_core_image {binaries} {
build_core $core_obj $modules [run_dir]/image.elf [core_link_address]
exec [cross_dev_prefix]strip [run_dir]/image.elf
# Save config part of the image.elf for easy inspection
exec cp -f [run_dir]/genode/config [run_dir].config
# remove individual binaries, which are now contained in 'image.elf'
exec rm -rf [run_dir]/genode
}