16f16ba4ea
The new version requires an extra features in the toolchain and won't build with a specific gcc bug, therefore two new toolchain options are added as dependencies: * !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 * BR2_TOOLCHAIN_HAS_UCONTEXT Signed-off-by: Koen Martens <gmc@sonologic.nl> Reviewed-by: Joel Carlson <JoelsonCarl@gmail.com> Tested-by: Joel Carlson <JoelsonCarl@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
28 lines
1.0 KiB
Plaintext
28 lines
1.0 KiB
Plaintext
config BR2_PACKAGE_C_CAPNPROTO
|
|
bool "c-capnproto"
|
|
depends on BR2_USE_MMU # capnproto
|
|
depends on BR2_HOST_GCC_AT_LEAST_5 # capnproto
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # capnproto
|
|
depends on BR2_INSTALL_LIBSTDCPP # capnproto
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # capnproto
|
|
depends on BR2_TOOLCHAIN_HAS_ATOMIC # capnproto
|
|
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # capnproto
|
|
depends on BR2_TOOLCHAIN_HAS_UCONTEXT # capnproto
|
|
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).
|
|
|
|
https://github.com/opensourcerouting/c-capnproto
|
|
|
|
comment "c-capnproto needs host and target gcc >= 5 w/ C++14, threads, atomic, ucontext and not gcc bug 64735"
|
|
depends on BR2_USE_MMU
|
|
depends on!BR2_HOST_GCC_AT_LEAST_5 || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_5 || \
|
|
!BR2_INSTALL_LIBSTDCPP || \
|
|
!BR2_TOOLCHAIN_HAS_THREADS || \
|
|
!BR2_TOOLCHAIN_HAS_ATOMIC || \
|
|
BR2_TOOLCHAIN_HAS_GCC_BUG_64735 || \
|
|
!BR2_TOOLCHAIN_HAS_UCONTEXT
|