Config.in 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. config BR2_PACKAGE_BOTAN_ARCH_SUPPORTS
  2. bool
  3. default y if BR2_aarch64 || BR2_aarch64_be
  4. default y if BR2_arm || BR2_armeb
  5. default y if BR2_i386 || BR2_x86_64
  6. default y if BR2_m68k
  7. default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
  8. default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
  9. default y if BR2_riscv
  10. default y if BR2_sparc || BR2_sparc64
  11. default y if BR2_s390x
  12. default y if BR2_sh
  13. config BR2_PACKAGE_BOTAN
  14. bool "botan"
  15. depends on BR2_INSTALL_LIBSTDCPP
  16. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_11 # C++20
  17. depends on BR2_PACKAGE_BOTAN_ARCH_SUPPORTS
  18. depends on BR2_TOOLCHAIN_HAS_THREADS
  19. select BR2_PACKAGE_BOOST_FILESYSTEM if BR2_PACKAGE_BOOST && BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
  20. select BR2_PACKAGE_BOOST_SYSTEM if BR2_PACKAGE_BOOST && BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
  21. help
  22. Botan is a crypto library for C++
  23. http://botan.randombit.net
  24. comment "botan needs a toolchain w/ threads, C++, gcc >= 11"
  25. depends on !BR2_INSTALL_LIBSTDCPP \
  26. || !BR2_TOOLCHAIN_GCC_AT_LEAST_11 \
  27. || !BR2_TOOLCHAIN_HAS_THREADS
  28. depends on BR2_PACKAGE_BOTAN_ARCH_SUPPORTS