xref: /OK3568_Linux_fs/buildroot/package/c-capnproto/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_C_CAPNPROTO
2	bool "c-capnproto"
3	depends on BR2_USE_MMU # capnproto
4	depends on BR2_HOST_GCC_AT_LEAST_5 # capnproto
5	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # capnproto
6	depends on BR2_INSTALL_LIBSTDCPP # capnproto
7	depends on BR2_TOOLCHAIN_HAS_THREADS # capnproto
8	depends on BR2_TOOLCHAIN_HAS_ATOMIC # capnproto
9	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # capnproto
10	depends on BR2_TOOLCHAIN_HAS_UCONTEXT # capnproto
11	select BR2_PACKAGE_CAPNPROTO
12	help
13	  A C plugin for Cap'n Proto. Generates the code generator
14	  plugin for C. Requires regular Cap'n Proto and only
15	  provides serialization (no RPC).
16
17	  https://github.com/opensourcerouting/c-capnproto
18
19comment "c-capnproto needs host and target gcc >= 5 w/ C++14, threads, atomic, ucontext and not gcc bug 64735"
20	depends on BR2_USE_MMU
21	depends on!BR2_HOST_GCC_AT_LEAST_5 || \
22		!BR2_TOOLCHAIN_GCC_AT_LEAST_5 || \
23		!BR2_INSTALL_LIBSTDCPP || \
24		!BR2_TOOLCHAIN_HAS_THREADS || \
25		!BR2_TOOLCHAIN_HAS_ATOMIC || \
26		BR2_TOOLCHAIN_HAS_GCC_BUG_64735 || \
27		!BR2_TOOLCHAIN_HAS_UCONTEXT
28