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