Author: blueswirl Date: Tue Nov 9 21:12:35 2010 New Revision: 950 URL: http://tracker.coreboot.org/trac/openbios/changeset/950
Log: 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
Modified: trunk/openbios-devel/config/scripts/switch-arch
Modified: trunk/openbios-devel/config/scripts/switch-arch ============================================================================== --- trunk/openbios-devel/config/scripts/switch-arch Mon Nov 8 22:12:36 2010 (r949) +++ trunk/openbios-devel/config/scripts/switch-arch Tue Nov 9 21:12:35 2010 (r950) @@ -97,7 +97,7 @@
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