eclass: Add risc-v endianness information
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Sat, 11 May 2019 16:26:28 +0000 (18:26 +0200)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Sat, 11 May 2019 16:26:28 +0000 (18:26 +0200)
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
eclass/toolchain-funcs.eclass

index 27324b0ca6076336ab58df46614881c05eefd4f7..2e027015c684e0b6c8804635bb537881e0fb6947 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 2002-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # @ECLASS: toolchain-funcs.eclass
@@ -695,6 +695,7 @@ tc-endian() {
                mips*)          echo big;;
                powerpc*le)     echo little;;
                powerpc*)       echo big;;
+               riscv*)         echo little;;
                s390*)          echo big;;
                sh*b*)          echo big;;
                sh*)            echo little;;