linuxOS_D21X/package/third-party/libatomic_ops/Config.in
2024-11-29 16:23:11 +08:00

27 lines
765 B
Plaintext

config BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS
bool
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
menuconfig BR2_PACKAGE_LIBATOMIC_OPS
bool "libatomic_ops"
depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS
help
Atomic operations library
https://github.com/ivmai/libatomic_ops
if BR2_PACKAGE_LIBATOMIC_OPS
config BR2_PACKAGE_LIBATOMIC_OPS_USE_PREBUILT
bool "use prebuilt binary instead of building from source"
default y
endif