xref: /OK3568_Linux_fs/buildroot/package/botan/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_PACKAGE_BOTAN_ARCH_SUPPORTS
2*4882a593Smuzhiyun	bool
3*4882a593Smuzhiyun	default y if BR2_aarch64 || BR2_aarch64_be
4*4882a593Smuzhiyun	default y if BR2_arm || BR2_armeb
5*4882a593Smuzhiyun	default y if BR2_i386 || BR2_x86_64
6*4882a593Smuzhiyun	default y if BR2_m68k
7*4882a593Smuzhiyun	default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
8*4882a593Smuzhiyun	default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
9*4882a593Smuzhiyun	default y if BR2_riscv
10*4882a593Smuzhiyun	default y if BR2_sparc || BR2_sparc64
11*4882a593Smuzhiyun	default y if BR2_s390x
12*4882a593Smuzhiyun	default y if BR2_sh
13*4882a593Smuzhiyun
14*4882a593Smuzhiyunconfig BR2_PACKAGE_BOTAN
15*4882a593Smuzhiyun	bool "botan"
16*4882a593Smuzhiyun	depends on BR2_INSTALL_LIBSTDCPP
17*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
18*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS
19*4882a593Smuzhiyun	depends on BR2_PACKAGE_BOTAN_ARCH_SUPPORTS
20*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future
21*4882a593Smuzhiyun	select BR2_PACKAGE_BOOST_FILESYSTEM if BR2_PACKAGE_BOOST && BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
22*4882a593Smuzhiyun	select BR2_PACKAGE_BOOST_SYSTEM if BR2_PACKAGE_BOOST && BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
23*4882a593Smuzhiyun	select BR2_PACKAGE_LIBOPENSSL_ENABLE_RC4 if BR2_PACKAGE_LIBOPENSSL
24*4882a593Smuzhiyun	select BR2_PACKAGE_LIBOPENSSL_ENABLE_RMD160 if BR2_PACKAGE_LIBOPENSSL
25*4882a593Smuzhiyun	help
26*4882a593Smuzhiyun	  Botan is a crypto library for C++
27*4882a593Smuzhiyun
28*4882a593Smuzhiyun	  http://botan.randombit.net
29*4882a593Smuzhiyun
30*4882a593Smuzhiyuncomment "botan needs a toolchain w/ C++, threads, gcc >= 4.8"
31*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP \
32*4882a593Smuzhiyun		|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
33*4882a593Smuzhiyun	depends on BR2_PACKAGE_BOTAN_ARCH_SUPPORTS
34*4882a593Smuzhiyun
35*4882a593Smuzhiyuncomment "botan needs a toolchain not affected by GCC bug 64735"
36*4882a593Smuzhiyun	depends on BR2_PACKAGE_BOTAN_ARCH_SUPPORTS
37*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
38