From 74c86456af23171457464766e3f1072bf5dca490 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Mon, 25 Jan 2016 18:15:08 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/13419 Reviewed-by: Ronald G. Minnich Tested-by: build bot (Jenkins) --- util/xcompile/xcompile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'util/xcompile') diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile index d798961a4924..7272b284bf80 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" -- cgit v1.2.3