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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user