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>
This commit is contained in:
Patrick Georgi 2014-05-14 14:48:31 +02:00
parent 1ec065bffa
commit 0890a825f3
1 changed files with 5 additions and 4 deletions

View File

@ -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"