xref: /OK3568_Linux_fs/buildroot/package/bitcoin/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS
2*4882a593Smuzhiyun	bool
3*4882a593Smuzhiyun	default y if BR2_TOOLCHAIN_HAS_ATOMIC
4*4882a593Smuzhiyun	# bitcoin uses 8-byte __atomic intrinsics, which are not
5*4882a593Smuzhiyun	# available on ARM noMMU platforms that we
6*4882a593Smuzhiyun	# support. BR2_TOOLCHAIN_HAS_ATOMIC does not provide a
7*4882a593Smuzhiyun	# size-level granularity to express this dependency.
8*4882a593Smuzhiyun	depends on !(BR2_arm || BR2_armeb) || BR2_USE_MMU
9*4882a593Smuzhiyun
10*4882a593Smuzhiyunconfig BR2_PACKAGE_BITCOIN
11*4882a593Smuzhiyun	bool "bitcoin"
12*4882a593Smuzhiyun	depends on BR2_INSTALL_LIBSTDCPP
13*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread, boost-filesystem
14*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future
15*4882a593Smuzhiyun	depends on BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS
16*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS # boost
17*4882a593Smuzhiyun	depends on BR2_USE_WCHAR
18*4882a593Smuzhiyun	select BR2_PACKAGE_BOOST
19*4882a593Smuzhiyun	select BR2_PACKAGE_BOOST_SYSTEM
20*4882a593Smuzhiyun	select BR2_PACKAGE_BOOST_FILESYSTEM
21*4882a593Smuzhiyun	select BR2_PACKAGE_BOOST_THREAD
22*4882a593Smuzhiyun	select BR2_PACKAGE_LIBEVENT
23*4882a593Smuzhiyun	help
24*4882a593Smuzhiyun	  Bitcoin Core is an open source project which maintains and
25*4882a593Smuzhiyun	  releases Bitcoin client software called “Bitcoin Core”.
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun	  It is a direct descendant of the original Bitcoin software
28*4882a593Smuzhiyun	  client released by Satoshi Nakamoto after he published the
29*4882a593Smuzhiyun	  famous Bitcoin whitepaper.
30*4882a593Smuzhiyun
31*4882a593Smuzhiyun	  Bitcoin Core consists of both "full-node" software for fully
32*4882a593Smuzhiyun	  validating the blockchain as well as a bitcoin wallet. The
33*4882a593Smuzhiyun	  project also currently maintains related software such as
34*4882a593Smuzhiyun	  the cryptography library libsecp256k1 and others located at
35*4882a593Smuzhiyun	  GitHub.
36*4882a593Smuzhiyun
37*4882a593Smuzhiyun	  https://bitcoincore.org
38*4882a593Smuzhiyun
39*4882a593Smuzhiyuncomment "bitcoin needs a toolchain w/ C++, threads, wchar"
40*4882a593Smuzhiyun	depends on BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS
41*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
42*4882a593Smuzhiyun	depends on !BR2_INSTALL_LIBSTDCPP || \
43*4882a593Smuzhiyun		!BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
44*4882a593Smuzhiyun
45*4882a593Smuzhiyuncomment "bitcoin needs a toolchain not affected by GCC bug 64735"
46*4882a593Smuzhiyun	depends on BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS
47*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
48