add compiler from crosstool, too

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1766 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer 2004-11-05 23:19:46 +00:00
parent ad00d73998
commit dc9e6e35c4
1 changed files with 3 additions and 2 deletions

View File

@ -230,7 +230,8 @@ function build_target
found_crosscompiler=true found_crosscompiler=true
fi fi
if [ "$found_crosscompiler" == "false" -a "$TARCH" == ppc ];then if [ "$found_crosscompiler" == "false" -a "$TARCH" == ppc ];then
for prefix in powerpc-eabi- powerpc-linux- ppc_74xx- ; do for prefix in powerpc-eabi- powerpc-linux- ppc_74xx- \
powerpc-7450-linux-gnu-; 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