public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [arm17] [PATCH] crossdev: Make armv[67] default to hardfloat following eclass change
@ 2018-07-24 23:11 James Le Cuirot
  2018-07-24 23:44 ` Sergei Trofimovich
  0 siblings, 1 reply; 2+ messages in thread
From: James Le Cuirot @ 2018-07-24 23:11 UTC (permalink / raw
  To: gentoo-dev; +Cc: James Le Cuirot

armv7a-unknown-linux-gnueabi would have previously been treated as
hardfloat but is now softfloat.

I have removed the armv7a-hardfloat-linux-gnueabi-7.3.0 example from
the README to avoid confusion even though it does still work.

Signed-off-by: James Le Cuirot <chewi@gentoo.org>
---
 README   | 3 +--
 crossdev | 2 ++
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/README b/README
index 99287a1..7aecdc4 100644
--- a/README
+++ b/README
@@ -50,8 +50,7 @@ executables or kernels if applies):
  alpha-unknown-linux-gnu-7.3.0
  arm-none-eabi-7.3.0
  armv5tel-softfloat-linux-gnueabi-7.3.0
- armv7a-hardfloat-linux-gnueabi-7.3.0
- armv7a-unknown-linux-gnueabi-7.3.0
+ armv7a-unknown-linux-gnueabihf-7.3.0
  avr-7.3.0
  hppa-unknown-linux-gnu-7.3.0
  hppa2.0-unknown-linux-gnu-7.3.0
diff --git a/crossdev b/crossdev
index a4b32a2..4ee7076 100755
--- a/crossdev
+++ b/crossdev
@@ -189,6 +189,8 @@ parse_target() {
 				CTARGET="${CTARGET}-ibm-linux-gnu";;
 			arm64*)
 				CTARGET="aarch${CTARGET#arm}-unknown-linux-gnu";;
+			armv[67]*)
+				CTARGET="${CTARGET}-unknown-linux-gnueabihf";;
 			arm*)
 				CTARGET="${CTARGET}-unknown-linux-gnueabi";;
 			aarch64*|alpha*|cris*|hppa*|ia64*|m68*|mips*|powerpc*|sparc*|sh*|tile*)
-- 
2.17.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [gentoo-dev] [arm17] [PATCH] crossdev: Make armv[67] default to hardfloat following eclass change
  2018-07-24 23:11 [gentoo-dev] [arm17] [PATCH] crossdev: Make armv[67] default to hardfloat following eclass change James Le Cuirot
@ 2018-07-24 23:44 ` Sergei Trofimovich
  0 siblings, 0 replies; 2+ messages in thread
From: Sergei Trofimovich @ 2018-07-24 23:44 UTC (permalink / raw
  To: James Le Cuirot; +Cc: gentoo-dev

On Wed, 25 Jul 2018 00:11:18 +0100
James Le Cuirot <chewi@gentoo.org> wrote:

> armv7a-unknown-linux-gnueabi would have previously been treated as
> hardfloat but is now softfloat.
> 
> I have removed the armv7a-hardfloat-linux-gnueabi-7.3.0 example from
> the README to avoid confusion even though it does still work.

Applied. Thanks!

> Signed-off-by: James Le Cuirot <chewi@gentoo.org>
> ---
>  README   | 3 +--
>  crossdev | 2 ++
>  2 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/README b/README
> index 99287a1..7aecdc4 100644
> --- a/README
> +++ b/README
> @@ -50,8 +50,7 @@ executables or kernels if applies):
>   alpha-unknown-linux-gnu-7.3.0
>   arm-none-eabi-7.3.0
>   armv5tel-softfloat-linux-gnueabi-7.3.0
> - armv7a-hardfloat-linux-gnueabi-7.3.0
> - armv7a-unknown-linux-gnueabi-7.3.0
> + armv7a-unknown-linux-gnueabihf-7.3.0
>   avr-7.3.0
>   hppa-unknown-linux-gnu-7.3.0
>   hppa2.0-unknown-linux-gnu-7.3.0
> diff --git a/crossdev b/crossdev
> index a4b32a2..4ee7076 100755
> --- a/crossdev
> +++ b/crossdev
> @@ -189,6 +189,8 @@ parse_target() {
>  				CTARGET="${CTARGET}-ibm-linux-gnu";;
>  			arm64*)
>  				CTARGET="aarch${CTARGET#arm}-unknown-linux-gnu";;
> +			armv[67]*)
> +				CTARGET="${CTARGET}-unknown-linux-gnueabihf";;
>  			arm*)
>  				CTARGET="${CTARGET}-unknown-linux-gnueabi";;
>  			aarch64*|alpha*|cris*|hppa*|ia64*|m68*|mips*|powerpc*|sparc*|sh*|tile*)
> -- 
> 2.17.0
> 
> 


-- 

  Sergei


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-07-24 23:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-24 23:11 [gentoo-dev] [arm17] [PATCH] crossdev: Make armv[67] default to hardfloat following eclass change James Le Cuirot
2018-07-24 23:44 ` Sergei Trofimovich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox