Gentoo Archives: gentoo-dev

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