Add support to -linux-gcc style cross compilers

Check for -linux-gcc cross compilers in addition to -linux-gnu-gcc.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>

git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@950 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Blue Swirl
2010-11-09 20:12:35 +00:00
parent 8e46cc4cb1
commit f3fc8ee4a4

View File

@@ -97,7 +97,7 @@ archname()
select_prefix()
{
for TARGET in ${1}-linux-gnu- ${1}-elf- ${1}-eabi-
for TARGET in ${1}-linux-gnu- ${1}-linux- ${1}-elf- ${1}-eabi-
do
if type ${TARGET}gcc > /dev/null 2>&1
then