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:
@@ -229,8 +229,9 @@ function build_target
|
||||
CC="gcc -m32"
|
||||
found_crosscompiler=true
|
||||
fi
|
||||
if [ "$found_crosscompiler" == "false" -a "$TARCH" == ppc ] ;then
|
||||
for prefix in powerpc-eabi- powerpc-linux- ppc_74xx- ; do
|
||||
if [ "$found_crosscompiler" == "false" -a "$TARCH" == ppc ];then
|
||||
for prefix in powerpc-eabi- powerpc-linux- ppc_74xx- \
|
||||
powerpc-7450-linux-gnu-; do
|
||||
if ${prefix}gcc --version > /dev/null 2> /dev/null ; then
|
||||
found_crosscompiler=true
|
||||
CROSS_COMPILE=$prefix
|
||||
|
Reference in New Issue
Block a user