21fc682289
Adds the capnproto package. This also builds a host variant to generate the capnp compiler that can be used to compile message definitions into C++ code. Includes a patch from upstream to fix an issue with uclibc. Signed-off-by: Koen Martens <gmc@sonologic.nl> Signed-off-by: Joel Carlson <JoelsonCarl@gmail.com> [Thomas: only link with -latomic when BR2_TOOLCHAIN_HAS_LIBATOMIC=y.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
25 lines
856 B
Plaintext
25 lines
856 B
Plaintext
config BR2_PACKAGE_CAPNPROTO
|
||
bool "capnproto"
|
||
depends on BR2_USE_MMU
|
||
depends on BR2_HOST_GCC_AT_LEAST_4_8 # C++11
|
||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
|
||
depends on BR2_INSTALL_LIBSTDCPP
|
||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||
depends on BR2_TOOLCHAIN_HAS_ATOMIC
|
||
help
|
||
Cap'n Proto is an insanely fast data interchange format
|
||
and capability-based RPC system. Think JSON, except
|
||
binary. Or think Protocol Buffers, except faster. In
|
||
fact, in benchmarks, Cap’n Proto is INFINITY TIMES
|
||
faster than Protocol Buffers.
|
||
|
||
https://capnproto.org/index.html
|
||
|
||
comment "capnproto needs host and target gcc >= 4.8 w/ C++, threads, atomic"
|
||
depends on BR2_USE_MMU
|
||
depends on !BR2_HOST_GCC_AT_LEAST_4_8 || \
|
||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
|
||
!BR2_INSTALL_LIBSTDCPP || \
|
||
!BR2_TOOLCHAIN_HAS_THREADS || \
|
||
!BR2_TOOLCHAIN_HAS_ATOMIC
|