diff options
author | Patrick Georgi <pgeorgi@chromium.org> | 2016-01-25 18:15:08 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2016-01-26 18:09:52 +0100 |
commit | 74c86456af23171457464766e3f1072bf5dca490 (patch) | |
tree | ecc42940f9fb0f529037da0e69912692da52d336 /util/xcompile | |
parent | 2dd5f4cce61f95468cd84d7272b8c455d0b6408b (diff) | |
download | coreboot-74c86456af23171457464766e3f1072bf5dca490.tar.xz |
xcompile: document all the variables!
What's the exact difference between TARCH, TSUPP and TBFDARCHS? Fear no
more, it's documented.
Change-Id: I18717eb1e20b1c0a82a485d391de2794a77c59ae
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-on: https://review.coreboot.org/13419
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'util/xcompile')
-rwxr-xr-x | util/xcompile/xcompile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile index d798961a49..7272b284bf 100755 --- a/util/xcompile/xcompile +++ b/util/xcompile/xcompile @@ -279,6 +279,14 @@ EOF # Architecture definitions SUPPORTED_ARCHITECTURES="arm arm64 mipsel riscv x64 x86 power8" +# TARCH: local name for the architecture +# (used as CC_${TARCH} in the build system) +# TBFDARCHS: architecture name in binutils (eg elf32-${TBFDARCH}) +# TCLIST: first part of the compiler triplet (eg i386 in i386-elf) +# TWIDTH: numerical argument for cpu mode: gcc -m${TWIDTH} +# TSUPP: supported subarchs (for -mcpu=...) +# TABI: typically elf, eabi or linux + arch_config_arm() { TARCH="arm" TBFDARCHS="littlearm" |