diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2021-01-05 22:40:59 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2021-01-05 23:01:37 +0000 |
commit | f8ed334c4a1f2a9802f898663b3facac5ec15e01 (patch) | |
tree | cf4ea0692f9d31839b81f96efa4602a5657b15d2 /eclass/toolchain-funcs.eclass | |
parent | sys-apps/busybox: bump to 1.33.0 (diff) | |
download | gentoo-f8ed334c4a1f2a9802f898663b3facac5ec15e01.tar.gz gentoo-f8ed334c4a1f2a9802f898663b3facac5ec15e01.tar.bz2 gentoo-f8ed334c4a1f2a9802f898663b3facac5ec15e01.zip |
toolchain-funcs.eclass: fix or1k* tuple detection
Before the change the only recognised CHOST was 'or1k'.
After the change CHOSTs like 'or1k-linux-musl' are
also recognised as 'openrisc'.
Reported-by: adam@pimentel.space
Bug: https://bugs.gentoo.org/763606
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'eclass/toolchain-funcs.eclass')
-rw-r--r-- | eclass/toolchain-funcs.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass index ec7b920bcfa7..4a4bb27fc084 100644 --- a/eclass/toolchain-funcs.eclass +++ b/eclass/toolchain-funcs.eclass @@ -665,7 +665,7 @@ ninj() { [[ ${type} == "kern" ]] && echo $1 || echo $2 ; } mips*) echo mips;; nios2*) echo nios2;; nios*) echo nios;; - or1k|or32*) echo openrisc;; + or1k*|or32*) echo openrisc;; powerpc*) # Starting with linux-2.6.15, the 'ppc' and 'ppc64' trees # have been unified into simply 'powerpc', but until 2.6.16, |