|
@@ -0,0 +1,24 @@
|
|
|
+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
|