libgpg-error: enable riscv64 support
authorBaruch Siach <baruch@tkos.co.il>
Tue, 30 Oct 2018 11:40:19 +0000 (13:40 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 1 Nov 2018 12:53:30 +0000 (13:53 +0100)
libgpg-error version 1.28 added support for riscv64.

Cc: Mark Corbin <mark.corbin@embecosm.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libgpg-error/Config.in

index 40424e41cfff7ad9abf939bd782bb781f977be32..0659a834bf2fc094da05f8d0234f8da6ab4beca2 100644 (file)
@@ -6,9 +6,10 @@ config BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS
                BR2_armeb       || BR2_i386             || BR2_mips     || \
                BR2_mipsel      || BR2_mips64           || BR2_mips64el || \
                BR2_m68k        || BR2_nios2            || BR2_powerpc  || \
-               BR2_powerpc64   || BR2_powerpc64le      || BR2_sh4      || \
-               BR2_sh4eb       || BR2_sh4a             || BR2_sh4aeb   || \
-               BR2_sparc       || BR2_sparc64          || BR2_x86_64
+               BR2_powerpc64   || BR2_powerpc64le      || BR2_RISCV_64 || \
+               BR2_sh4         || BR2_sh4eb            || BR2_sh4a     || \
+               BR2_sh4aeb      || BR2_sparc            || BR2_sparc64  || \
+               BR2_x86_64
 
 config BR2_PACKAGE_LIBGPG_ERROR
        bool "libgpg-error"
@@ -39,6 +40,8 @@ config BR2_PACKAGE_LIBGPG_ERROR_SYSCFG
                if BR2_powerpc
        default "powerpc64-unknown-linux-gnu" \
                if BR2_powerpc64 || BR2_powerpc64le
+       default "riscv64-unknown-linux-gnu" \
+               if BR2_RISCV_64
        default "sh4-unknown-linux-gnu" \
                if BR2_sh4 || BR2_sh4eb || BR2_sh4a || BR2_sh4aeb
        default "sparc-unknown-linux-gnu" \