summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-01-05 22:40:59 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2021-01-05 23:01:37 +0000
commitf8ed334c4a1f2a9802f898663b3facac5ec15e01 (patch)
treecf4ea0692f9d31839b81f96efa4602a5657b15d2 /eclass/tests
parentsys-apps/busybox: bump to 1.33.0 (diff)
downloadgentoo-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/tests')
-rwxr-xr-xeclass/tests/toolchain-funcs.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/tests/toolchain-funcs.sh b/eclass/tests/toolchain-funcs.sh
index a0a56fd9e5d9..23ac568c4a50 100755
--- a/eclass/tests/toolchain-funcs.sh
+++ b/eclass/tests/toolchain-funcs.sh
@@ -27,7 +27,8 @@ test-tc-arch-kernel() {
tbegin "tc-arch-kernel() (KV=2.6.30)"
test-tc-arch-kernel 2.6.30 \
i{3..6}86:x86 x86_64:x86 \
- powerpc{,64}:powerpc i{3..6}86-gentoo-freebsd:i386
+ powerpc{,64}:powerpc i{3..6}86-gentoo-freebsd:i386 \
+ or1k:openrisc or1k-linux-musl:openrisc
tend $?
#