coreboot-kgpe-d16/util/crossgcc
Patrick Georgi c866591698 buildgcc: improve portability of 'type' use
The precise phrase returned by 'type' differs between locales and shells.
It also doesn't matter because it returns an error code when it hasn't found a
match.
Let's simply assume there's no build_$OneOfOurPackages commands around that
could also match.

Change-Id: I44f021243149701e8da9dd74c368ca2ad4509419
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Tested-on: linux bash, linux dash, solaris sh, solaris ksh.
Reviewed-on: http://review.coreboot.org/10517
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2015-06-12 08:40:54 +02:00
..
patches buildgcc: Update and fix GDB 2015-06-10 06:06:13 +02:00
sum buildgcc: Update and fix GDB 2015-06-10 06:06:13 +02:00
Makefile crossgcc: Build mipsel-elf, not mips-elf 2015-03-29 22:37:22 +02:00
README Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
buildgcc buildgcc: improve portability of 'type' use 2015-06-12 08:40:54 +02:00
getopt.c

README

README
------

This is a cross toolchain builder for -elf toolchains (ie. no libc support)

known working:
  i386-elf
  x86_64-elf
  powerpc-elf
  mipsel-elf
  arm-elf
  armv7a-eabi
  aarch64-elf

known broken:
  alpha-elf
  powerpc64-elf