Config.in 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. config 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. config BR2_PACKAGE_BITCOIN
  10. bool "bitcoin"
  11. depends on BR2_INSTALL_LIBSTDCPP
  12. depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future
  13. depends on BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS
  14. depends on BR2_TOOLCHAIN_HAS_THREADS # boost
  15. depends on BR2_USE_WCHAR
  16. select BR2_PACKAGE_BOOST
  17. select BR2_PACKAGE_BOOST_SYSTEM
  18. select BR2_PACKAGE_BOOST_FILESYSTEM
  19. select BR2_PACKAGE_BOOST_THREAD
  20. select BR2_PACKAGE_LIBEVENT
  21. help
  22. Bitcoin Core is an open source project which maintains and
  23. releases Bitcoin client software called “Bitcoin Core”.
  24. It is a direct descendant of the original Bitcoin software
  25. client released by Satoshi Nakamoto after he published the
  26. famous Bitcoin whitepaper.
  27. Bitcoin Core consists of both "full-node" software for fully
  28. validating the blockchain as well as a bitcoin wallet. The
  29. project also currently maintains related software such as
  30. the cryptography library libsecp256k1 and others located at
  31. GitHub.
  32. https://bitcoincore.org
  33. comment "bitcoin needs a toolchain w/ C++, threads, wchar"
  34. depends on BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS
  35. depends on !BR2_INSTALL_LIBSTDCPP || \
  36. !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
  37. comment "bitcoin needs a toolchain not affected by GCC bug 64735"
  38. depends on BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS
  39. depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735