* [PATCH] libgloss/arm: fix dircovery of "eabihf" toolchains
@ 2017-04-13 23:17 Carlos Santos
2017-04-18 10:27 ` Corinna Vinschen
0 siblings, 1 reply; 2+ messages in thread
From: Carlos Santos @ 2017-04-13 23:17 UTC (permalink / raw)
To: newlib; +Cc: Bryan Hundven, Alexey Neyman
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>
---
Tested on Crosstool-NG, building a toolchain for target
"armv7em-cortex_m4f-eabihf".
---
libgloss/arm/configure | 2 +-
libgloss/arm/configure.in | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libgloss/arm/configure b/libgloss/arm/configure
index 93c2b27..1aed3a9 100644
--- a/libgloss/arm/configure
+++ b/libgloss/arm/configure
@@ -2531,7 +2531,7 @@ test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
case "${target}" in
- *-*-elf | *-*-eabi | *-*-tirtos*)
+ *-*-elf | *-*-eabi* | *-*-tirtos*)
objtype=elf-
;;
*-*-coff)
diff --git a/libgloss/arm/configure.in b/libgloss/arm/configure.in
index 39c15d7..5fa901d 100644
--- a/libgloss/arm/configure.in
+++ b/libgloss/arm/configure.in
@@ -49,7 +49,7 @@ AC_PROG_RANLIB
LIB_AM_PROG_AS
case "${target}" in
- *-*-elf | *-*-eabi | *-*-tirtos*)
+ *-*-elf | *-*-eabi* | *-*-tirtos*)
objtype=elf-
;;
*-*-coff)
--
2.7.4
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] libgloss/arm: fix dircovery of "eabihf" toolchains
2017-04-13 23:17 [PATCH] libgloss/arm: fix dircovery of "eabihf" toolchains Carlos Santos
@ 2017-04-18 10:27 ` Corinna Vinschen
0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2017-04-18 10:27 UTC (permalink / raw)
To: newlib
[-- Attachment #1: Type: text/plain, Size: 1557 bytes --]
On Apr 13 20:17, Carlos Santos wrote:
> 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>
> ---
> Tested on Crosstool-NG, building a toolchain for target
> "armv7em-cortex_m4f-eabihf".
> ---
> libgloss/arm/configure | 2 +-
> libgloss/arm/configure.in | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/libgloss/arm/configure b/libgloss/arm/configure
> index 93c2b27..1aed3a9 100644
> --- a/libgloss/arm/configure
> +++ b/libgloss/arm/configure
> @@ -2531,7 +2531,7 @@ test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
>
>
> case "${target}" in
> - *-*-elf | *-*-eabi | *-*-tirtos*)
> + *-*-elf | *-*-eabi* | *-*-tirtos*)
> objtype=elf-
> ;;
> *-*-coff)
> diff --git a/libgloss/arm/configure.in b/libgloss/arm/configure.in
> index 39c15d7..5fa901d 100644
> --- a/libgloss/arm/configure.in
> +++ b/libgloss/arm/configure.in
> @@ -49,7 +49,7 @@ AC_PROG_RANLIB
> LIB_AM_PROG_AS
>
> case "${target}" in
> - *-*-elf | *-*-eabi | *-*-tirtos*)
> + *-*-elf | *-*-eabi* | *-*-tirtos*)
> objtype=elf-
> ;;
> *-*-coff)
> --
> 2.7.4
Pushed.
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Maintainer
Red Hat
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-04-18 10:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-13 23:17 [PATCH] libgloss/arm: fix dircovery of "eabihf" toolchains Carlos Santos
2017-04-18 10:27 ` Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).