1 |
vapier 15/02/27 06:08:39 |
2 |
|
3 |
Modified: toolchain-funcs.eclass |
4 |
Log: |
5 |
tc-ninja_magic_to_arch: fix matching for unofficial arches |
6 |
|
7 |
this code matches a $CHOST and not an $ARCH, so we need a glob. also add microblaze. |
8 |
|
9 |
Revision Changes Path |
10 |
1.132 eclass/toolchain-funcs.eclass |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-funcs.eclass?rev=1.132&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-funcs.eclass?rev=1.132&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-funcs.eclass?r1=1.131&r2=1.132 |
15 |
|
16 |
Index: toolchain-funcs.eclass |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v |
19 |
retrieving revision 1.131 |
20 |
retrieving revision 1.132 |
21 |
diff -u -r1.131 -r1.132 |
22 |
--- toolchain-funcs.eclass 1 Nov 2014 05:19:20 -0000 1.131 |
23 |
+++ toolchain-funcs.eclass 27 Feb 2015 06:08:39 -0000 1.132 |
24 |
@@ -1,6 +1,6 @@ |
25 |
# Copyright 1999-2014 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.131 2014/11/01 05:19:20 vapier Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.132 2015/02/27 06:08:39 vapier Exp $ |
29 |
|
30 |
# @ECLASS: toolchain-funcs.eclass |
31 |
# @MAINTAINER: |
32 |
@@ -373,10 +373,10 @@ |
33 |
arm*) echo arm;; |
34 |
avr*) ninj avr32 avr;; |
35 |
bfin*) ninj blackfin bfin;; |
36 |
- c6x) echo c6x;; |
37 |
+ c6x*) echo c6x;; |
38 |
cris*) echo cris;; |
39 |
- frv) echo frv;; |
40 |
- hexagon) echo hexagon;; |
41 |
+ frv*) echo frv;; |
42 |
+ hexagon*) echo hexagon;; |
43 |
hppa*) ninj parisc hppa;; |
44 |
i?86*) |
45 |
# Starting with linux-2.6.24, the 'x86_64' and 'i386' |
46 |
@@ -390,11 +390,12 @@ |
47 |
;; |
48 |
ia64*) echo ia64;; |
49 |
m68*) echo m68k;; |
50 |
- metag) echo metag;; |
51 |
+ metag*) echo metag;; |
52 |
+ microblaze*) echo microblaze;; |
53 |
mips*) echo mips;; |
54 |
nios2*) echo nios2;; |
55 |
nios*) echo nios;; |
56 |
- or32) echo openrisc;; |
57 |
+ or32*) echo openrisc;; |
58 |
powerpc*) |
59 |
# Starting with linux-2.6.15, the 'ppc' and 'ppc64' trees |
60 |
# have been unified into simply 'powerpc', but until 2.6.16, |
61 |
@@ -417,7 +418,7 @@ |
62 |
;; |
63 |
riscv*) echo riscv;; |
64 |
s390*) echo s390;; |
65 |
- score) echo score;; |
66 |
+ score*) echo score;; |
67 |
sh64*) ninj sh64 sh;; |
68 |
sh*) echo sh;; |
69 |
sparc64*) ninj sparc64 sparc;; |