Gentoo Archives: gentoo-dev

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

Replies