libgloss/arm: fix discovery of "eabihf" toolchains

ARM EABI toolchains can optionally use the "hf" suffix to identify
hardware floating point support. Use the "*-*-eabi*" pattern to match
these toolchains.

Original patch by Bryan Hundven for the Crosstool-NG project. Improved
by Alexey Neyman.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
CC: Bryan Hundven <bryanhundven@gmail.com
CC: Alexey Neyman <stilor@att.net>
This commit is contained in:
Carlos Santos 2017-04-13 20:17:37 -03:00 committed by Corinna Vinschen
parent bdb017b30c
commit 8ae6d8003a
2 changed files with 2 additions and 2 deletions

View File

@ -2531,7 +2531,7 @@ test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
case "${target}" in
*-*-elf | *-*-eabi | *-*-tirtos*)
*-*-elf | *-*-eabi* | *-*-tirtos*)
objtype=elf-
;;
*-*-coff)

View File

@ -49,7 +49,7 @@ AC_PROG_RANLIB
LIB_AM_PROG_AS
case "${target}" in
*-*-elf | *-*-eabi | *-*-tirtos*)
*-*-elf | *-*-eabi* | *-*-tirtos*)
objtype=elf-
;;
*-*-coff)