Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/crossdev:master commit in: /
Date: Tue, 24 Jul 2018 23:44:27
Message-Id: 1532475839.712070946fb41c145b455813dc33e10f10f5ce06.slyfox@gentoo
1 commit: 712070946fb41c145b455813dc33e10f10f5ce06
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 24 23:11:18 2018 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 24 23:43:59 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=71207094
7
8 crossdev: Make armv[67] default to hardfloat following eclass change
9
10 armv7a-unknown-linux-gnueabi would have previously been treated as
11 hardfloat but is now softfloat.
12
13 I have removed the armv7a-hardfloat-linux-gnueabi-7.3.0 example from
14 the README to avoid confusion even though it does still work.
15
16 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
17 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
18
19 README | 3 +--
20 crossdev | 2 ++
21 2 files changed, 3 insertions(+), 2 deletions(-)
22
23 diff --git a/README b/README
24 index 99287a1..7aecdc4 100644
25 --- a/README
26 +++ b/README
27 @@ -50,8 +50,7 @@ executables or kernels if applies):
28 alpha-unknown-linux-gnu-7.3.0
29 arm-none-eabi-7.3.0
30 armv5tel-softfloat-linux-gnueabi-7.3.0
31 - armv7a-hardfloat-linux-gnueabi-7.3.0
32 - armv7a-unknown-linux-gnueabi-7.3.0
33 + armv7a-unknown-linux-gnueabihf-7.3.0
34 avr-7.3.0
35 hppa-unknown-linux-gnu-7.3.0
36 hppa2.0-unknown-linux-gnu-7.3.0
37
38 diff --git a/crossdev b/crossdev
39 index a4b32a2..4ee7076 100755
40 --- a/crossdev
41 +++ b/crossdev
42 @@ -189,6 +189,8 @@ parse_target() {
43 CTARGET="${CTARGET}-ibm-linux-gnu";;
44 arm64*)
45 CTARGET="aarch${CTARGET#arm}-unknown-linux-gnu";;
46 + armv[67]*)
47 + CTARGET="${CTARGET}-unknown-linux-gnueabihf";;
48 arm*)
49 CTARGET="${CTARGET}-unknown-linux-gnueabi";;
50 aarch64*|alpha*|cris*|hppa*|ia64*|m68*|mips*|powerpc*|sparc*|sh*|tile*)