package/libatomic_ops: enable for riscv32 and riscv64

The riscv support has been added since v7.6.4 release.

137643f141

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
[yann.morin.1998@free.fr:
  - split the long line
  - reorder the archs alphabetically, and group related ones
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Romain Naour 2021-05-02 23:49:16 +02:00 committed by Yann E. MORIN
parent 0f334a95ec
commit 626a98a449

View File

@ -1,6 +1,11 @@
config BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS
bool
default y if BR2_arm || BR2_armeb || BR2_aarch64 || BR2_i386 || BR2_sparc || BR2_sparc64 || BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le || BR2_x86_64 || BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
default y if BR2_aarch64 || BR2_arm || BR2_armeb
default y if BR2_i386 || BR2_x86_64
default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
default y if BR2_riscv
default y if BR2_sparc || BR2_sparc64
# Unsupported for MIPS R6
depends on !BR2_MIPS_CPU_MIPS32R6 && !BR2_MIPS_CPU_MIPS64R6