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:
parent
ad00d73998
commit
dc9e6e35c4
|
@ -229,8 +229,9 @@ function build_target
|
||||||
CC="gcc -m32"
|
CC="gcc -m32"
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue