summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Hesling <hesling@chromium.org>2020-12-29 21:51:20 -0800
committerCommit Bot <commit-bot@chromium.org>2020-12-30 18:48:14 +0000
commit7758d77b60d88228fd81df5c78d74e21b6abefb4 (patch)
tree57d3b0d0aa90a6f38d5cc5f6ced73a9b218b2747
parente64cf862f513ca6b11de9ec92aa61eafa0eb5d8b (diff)
downloadchrome-ec-7758d77b60d88228fd81df5c78d74e21b6abefb4.tar.gz
make: Add HOST_CROSS_COMPILE to make help
BRANCH=none BUG=b:176500425 TEST=make help Signed-off-by: Craig Hesling <hesling@chromium.org> Change-Id: I34bbf0fd11677d6cdbc557b722035a822623b57f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2606466 Reviewed-by: Ting Shen <phoenixshen@chromium.org>
-rw-r--r--Makefile.rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 81ce32972b..6d0140b607 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -774,6 +774,10 @@ help:
@echo " CROSS_COMPILE_arch= - Set the compiler for arch"
@echo " The board picks its CROSS_COMPILE_arch if CROSS_COMPILE is not set."
@echo " arch may be one of 'arm', 'i386', 'nds32'."
+ @echo " HOST_CROSS_COMPILE= - Set the compiler for the target platform on top of"
+ @echo " the EC. For example, this may be 32-bit x86 linux ('i686-pc-linux-gnu-'),"
+ @echo " 64-bit x86 linux ('x86_64-pc-linux-gnu-'), or maybe 64-bit ARM linux"
+ @echo " ('aarch64-cros-linux-gnu-')."
@echo "Example:"
@echo " make BOARD=reef CROSS_COMPILE_arm='arm-eabi-'"