commit:     712070946fb41c145b455813dc33e10f10f5ce06
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 24 23:11:18 2018 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Tue Jul 24 23:43:59 2018 +0000
URL:        https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=71207094

crossdev: Make armv[67] default to hardfloat following eclass change

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 <AT> gentoo.org>
Signed-off-by: Sergei Trofimovich <slyfox <AT> 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*)

Reply via email to