Files
buildroot/package/botan/Config.in
Michael Nosthoff 8ff577bb35 package/botan: cleanup boost dependencies
- botan dropped the usage of Boost.Filesystem in 2.10.0 [0]
- botan never actively searched for Boost.System, as it is header-only
  the dependecy can be dropped too

The only part of boost botan currently uses is asio. So use --with-boost option
when boost is selected.

[0] aff8cc8a7a

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-08-08 17:16:57 +02:00

30 lines
914 B
Plaintext

config BR2_PACKAGE_BOTAN_ARCH_SUPPORTS
bool
default y if BR2_aarch64 || BR2_aarch64_be
default y if BR2_arm || BR2_armeb
default y if BR2_i386 || BR2_x86_64
default y if BR2_m68k
default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
default y if BR2_riscv
default y if BR2_sparc || BR2_sparc64
default y if BR2_s390x
default y if BR2_sh
config BR2_PACKAGE_BOTAN
bool "botan"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_11 # C++20
depends on BR2_PACKAGE_BOTAN_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_HAS_THREADS
help
Botan is a crypto library for C++
http://botan.randombit.net
comment "botan needs a toolchain w/ threads, C++, gcc >= 11"
depends on !BR2_INSTALL_LIBSTDCPP \
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_11 \
|| !BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_PACKAGE_BOTAN_ARCH_SUPPORTS