- Add another possible powerpc cross compiler prefix

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1757 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Eric Biederman 2004-11-05 11:41:26 +00:00
parent ca883c915a
commit 1a003244d6
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ function build_target
echo " ($TARCH: subset of $ARCH)" echo " ($TARCH: subset of $ARCH)"
fi fi
if [ "$found_crosscompiler" == "false" -a "$TARCH" == ppc ] ;then if [ "$found_crosscompiler" == "false" -a "$TARCH" == ppc ] ;then
for prefix in powerpc-linux- ; do for prefix in powerpc-eabi- powerpc-linux- ; do
if ${prefix}gcc --version > /dev/null 2> /dev/null ; then if ${prefix}gcc --version > /dev/null 2> /dev/null ; then
found_crosscompiler=true found_crosscompiler=true
CROSS_COMPILE=$prefix CROSS_COMPILE=$prefix