2019-08-01 11:44:40 +02:00
|
|
|
config BR2_PACKAGE_C_CAPNPROTO
|
|
|
|
bool "c-capnproto"
|
|
|
|
depends on BR2_USE_MMU # capnproto
|
2019-09-09 20:52:14 +02:00
|
|
|
depends on BR2_HOST_GCC_AT_LEAST_5 # capnproto
|
|
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # capnproto
|
2019-08-01 11:44:40 +02:00
|
|
|
depends on BR2_INSTALL_LIBSTDCPP # capnproto
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # capnproto
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_ATOMIC # capnproto
|
2020-05-16 09:53:13 +02:00
|
|
|
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # capnproto
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_UCONTEXT # capnproto
|
2019-08-01 11:44:40 +02:00
|
|
|
select BR2_PACKAGE_CAPNPROTO
|
|
|
|
help
|
|
|
|
A C plugin for Cap'n Proto. Generates the code generator
|
|
|
|
plugin for C. Requires regular Cap'n Proto and only
|
|
|
|
provides serialization (no RPC).
|
|
|
|
|
2019-11-26 13:06:45 +01:00
|
|
|
https://github.com/opensourcerouting/c-capnproto
|
|
|
|
|
2020-05-16 09:53:13 +02:00
|
|
|
comment "c-capnproto needs host and target gcc >= 5 w/ C++14, threads, atomic, ucontext and not gcc bug 64735"
|
2019-08-01 11:44:40 +02:00
|
|
|
depends on BR2_USE_MMU
|
2022-08-15 01:38:17 +02:00
|
|
|
depends on !BR2_HOST_GCC_AT_LEAST_5 || \
|
2019-09-09 20:52:14 +02:00
|
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_5 || \
|
2019-08-01 11:44:40 +02:00
|
|
|
!BR2_INSTALL_LIBSTDCPP || \
|
|
|
|
!BR2_TOOLCHAIN_HAS_THREADS || \
|
2020-05-16 09:53:13 +02:00
|
|
|
!BR2_TOOLCHAIN_HAS_ATOMIC || \
|
|
|
|
BR2_TOOLCHAIN_HAS_GCC_BUG_64735 || \
|
|
|
|
!BR2_TOOLCHAIN_HAS_UCONTEXT
|