Config.in 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread, boost-filesystem
  13. depends on BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS
  14. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9
  15. depends on BR2_TOOLCHAIN_HAS_THREADS # boost
  16. depends on BR2_USE_WCHAR
  17. select BR2_PACKAGE_BOOST
  18. select BR2_PACKAGE_BOOST_SYSTEM
  19. select BR2_PACKAGE_BOOST_FILESYSTEM
  20. select BR2_PACKAGE_BOOST_THREAD
  21. select BR2_PACKAGE_LIBEVENT
  22. help
  23. Bitcoin Core is an open source project which maintains and
  24. releases Bitcoin client software called “Bitcoin Core”.
  25. It is a direct descendant of the original Bitcoin software
  26. client released by Satoshi Nakamoto after he published the
  27. famous Bitcoin whitepaper.
  28. Bitcoin Core consists of both "full-node" software for fully
  29. validating the blockchain as well as a bitcoin wallet. The
  30. project also currently maintains related software such as
  31. the cryptography library libsecp256k1 and others located at
  32. GitHub.
  33. https://bitcoincore.org
  34. if BR2_PACKAGE_BITCOIN
  35. config BR2_PACKAGE_BITCOIN_WALLET
  36. bool "wallet support"
  37. select BR2_PACKAGE_SQLITE
  38. help
  39. Enable bitcoin wallet support.
  40. endif
  41. comment "bitcoin needs a toolchain w/ C++, threads, wchar, gcc >= 9"
  42. depends on BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS
  43. depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
  44. depends on !BR2_INSTALL_LIBSTDCPP || \
  45. !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \
  46. !BR2_TOOLCHAIN_GCC_AT_LEAST_9