buildroot/package/bitcoin/Config.in
Fabio Urquiza 656fc50b51 package/bitcoin: new package
Bitcoin Core is an open source project which maintains and releases
Bitcoin client software called “Bitcoin Core”.

Signed-off-by: Fabio Urquiza <fabiorush@gmail.com>
[Thomas:
 - Don't create a new blockchain applications sub-menu for now, put
   this package in "Miscellaneous applications"
 - Do not select BR2_INSTALL_LIBSTDCPP, use depends on instead, and
   add the corresponding comment.
 - Do not select BR2_TOOLCHAIN_BUILDROOT_USE_SSP. Instead pass
   --disable-hardening, and let Buildroot pass the appropriate CFLAGS
   when hardening features are enabled system-wide.
 - Add missing BR2_TOOLCHAIN_HAS_ATOMIC dependency
 - Add quirky !(BR2_arm || BR2_armeb) || BR2_USE_MMU because the
   Cortex-M toolchains don't provide 8-byte __atomic intrinsics, but
   we don't have a good way to express that today
 - Add missing BR2_TOOLCHAIN_HAS_GCC_BUG_64735 due to the use of
   std::future
 - Use only one BITCOIN_CONF_OPTS assignment to pass all options]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-08-03 18:51:37 +02:00

46 lines
1.6 KiB
Plaintext

config BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS
bool
depends on BR2_TOOLCHAIN_HAS_ATOMIC
# bitcoin uses 8-byte __atomic intrinsics, which are not
# available on ARM noMMU platforms that we
# support. BR2_TOOLCHAIN_HAS_ATOMIC does not provide a
# size-level granularity to express this dependency.
depends on !(BR2_arm || BR2_armeb) || BR2_USE_MMU
config BR2_PACKAGE_BITCOIN
bool "bitcoin"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future
depends on BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS
select BR2_PACKAGE_BOOST
select BR2_PACKAGE_BOOST_SYSTEM
select BR2_PACKAGE_BOOST_FILESYSTEM
select BR2_PACKAGE_BOOST_THREAD
select BR2_PACKAGE_BOOST_CHRONO
select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_LIBEVENT
help
Bitcoin Core is an open source project which maintains and
releases Bitcoin client software called “Bitcoin Core”.
It is a direct descendant of the original Bitcoin software
client released by Satoshi Nakamoto after he published the
famous Bitcoin whitepaper.
Bitcoin Core consists of both "full-node" software for fully
validating the blockchain as well as a bitcoin wallet. The
project also currently maintains related software such as
the cryptography library libsecp256k1 and others located at
GitHub.
https://bitcoincore.org
comment "bitcoin needs a toolchain w/ C++"
depends on BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS
depends on !BR2_INSTALL_LIBSTDCPP
comment "bitcoin needs a toolchain not affected by GCC bug 64735"
depends on BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735