diff options
author | Yuval Peress <peress@chromium.org> | 2021-02-09 23:54:55 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-02-12 21:54:19 +0000 |
commit | 478a75c70f3d9892c720d000d922b497c14b5edc (patch) | |
tree | e5fca494cde4609a43ee2527f1ba8e9fd41fcf5a | |
parent | 65499c6172d992e825b0550f69306b7c0e8eb0b7 (diff) | |
download | chrome-ec-478a75c70f3d9892c720d000d922b497c14b5edc.tar.gz |
zmake: Add ro/rw elf to output/
The elf files are very handy for debugging and should be included
in the build's output/ directory to make it easier to find.
BRANCH=none
BUG=none
TEST=zmake configure -b zephyr/projects/volteer
see that build/zephyr/projects/volteer/output contains both
zephyr.ro.elf and zephyr.rw.elf
Change-Id: Id7c13c4e7f5cf2b5b0e8b08d2df161695e485740
Signed-off-by: Yuval Peress <peress@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2686984
Commit-Queue: Keith Short <keithshort@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
-rw-r--r-- | zephyr/zmake/zmake/output_packers.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zephyr/zmake/zmake/output_packers.py b/zephyr/zmake/zmake/output_packers.py index 6601715c2e..d59b0e8e5d 100644 --- a/zephyr/zmake/zmake/output_packers.py +++ b/zephyr/zmake/zmake/output_packers.py @@ -154,6 +154,8 @@ class RawBinPacker(BasePacker): raise OSError('Failed to run binman') yield work_dir / 'zephyr.bin', 'zephyr.bin' + yield ro / 'zephyr' / 'zephyr.elf', 'zephyr.ro.elf' + yield rw / 'zephyr' / 'zephyr.elf', 'zephyr.rw.elf' # A dictionary mapping packer config names to classes. |