diff options
author | Patrick Georgi <patrick@georgi-clan.de> | 2014-05-14 14:48:31 +0200 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2014-05-15 10:27:49 +0200 |
commit | 0890a825f3870f135447055c40b342bc6e3b0da7 (patch) | |
tree | f7aa6fa797ebdc577ff7be64ee5fc2dfc23edec9 /util | |
parent | 1ec065bffae5233202ec1e64f3a2fb541da3784e (diff) |
xcompile: ABIs are really architecture specific
no need to test for i386-eabi or armv7a-elf
Change-Id: Icbef5a64f5b793092ca0f94ee8f54bc896bf39ad
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/5746
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'util')
-rw-r--r-- | util/xcompile/xcompile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile index 239c23375c..0ac2bec942 100644 --- a/util/xcompile/xcompile +++ b/util/xcompile/xcompile @@ -169,6 +169,7 @@ arch_config_armv7() { TBFDARCH="littlearm" TCLIST="armv7a armv7-a" TWIDTH="32" + TABI="eabi" } arch_config_aarch64() { @@ -176,6 +177,7 @@ arch_config_aarch64() { TBFDARCH="littleaarch64" TCLIST="aarch64" TWIDTH="64" + TABI="eabi" } arch_config_x86() { @@ -183,6 +185,7 @@ arch_config_x86() { TBFDARCH="i386" TCLIST="i386 x86_64" TWIDTH="32" + TABI="elf" } test_architecture() { @@ -203,11 +206,9 @@ test_architecture() { search="$(eval echo \$CROSS_COMPILE_$architecture 2>/dev/null)" search="$search $CROSS_COMPILE" for toolchain in $TCLIST; do - search="$search $XGCCPATH$toolchain-elf-" - search="$search $toolchain-elf-" + search="$search $XGCCPATH$toolchain-$TABI-" + search="$search $toolchain-$TABI-" search="$search $toolchain-linux-gnu-" - search="$search $XGCCPATH$toolchain-eabi-" - search="$search $toolchain-eabi-" done echo "# $architecture TARCH_SEARCH=$search" |