summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Hesling <hesling@chromium.org>2020-12-29 09:58:58 -0800
committerCommit Bot <commit-bot@chromium.org>2020-12-30 05:22:14 +0000
commitd4fc1733bf17b990cd6f91d7e5f2353928954c22 (patch)
treeedabcec1bf6c5516ad8bb923731c84dcbc794271
parentc4aacf4e039d5e797e39988486c1c22180918706 (diff)
downloadchrome-ec-d4fc1733bf17b990cd6f91d7e5f2353928954c22.tar.gz
make: Add dis and hex to help message
Note that the dis target might not be the best way to actually debug a specific part of C code. You should probably use have gcc itself generate the annotated assembly for a single source file. BRANCH=none BUG=none TEST=make help Signed-off-by: Craig Hesling <hesling@chromium.org> Change-Id: Ieb535c8c4298525163f9e94167e30de10f090c4a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2606505 Commit-Queue: Ting Shen <phoenixshen@chromium.org> Reviewed-by: Ting Shen <phoenixshen@chromium.org>
-rw-r--r--Makefile.rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 054baf21a2..0f2b0a5c38 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -741,6 +741,8 @@ help:
@echo " savesizes - Save the filesizes of currently built boards for comparison"
@echo " newsizes - Compare previously saved filesizes against new sizes"
@echo " utils [BOARD=] - Build all host side utilities"
+ @echo " dis [BOARD=] - Generate the complete disassembly of the RO and RW images"
+ @echo " hex [BOARD=] - Generate an Intel hex formated output binary"
@echo ""
@echo " tests [BOARD=] - Build all on-device unit tests for a specific board"
@echo " hosttests - Build all host unit tests"