kumquat-buildroot/package/c-capnproto/Config.in
Joel Carlson b6a06140cd c-capnproto: add package
Adds the c-capnproto package. This creates a C plugin for the regular
capnproto capnpc compiler. It supports only serialization (no RPC).

Since it depends on capnproto, the package selects capnproto and has the
same requirements as capnproto.

The host version is always needed for the code generator, which is what
gets called by packages using it. The target version is also always
needed for the library. Therefore, no Config.in.host option is needed.

We need to use the git download method because the package has
submodules. The submodule is gtest, which is not really needed, but it's
complicated to remove the dependency.

The version is the latest upstream git hash. It is version 0.3 with just
two patches applied: one to the README file, and a fix submitted by us.

Signed-off-by: Joel Carlson <JoelsonCarl@gmail.com>
[Arnout:
 - use latest upstream version which has patch already applied;
 - mark in Config.in that dependencies come from capnproto;
 - add some newlines to .mk file;
 - updated commit message.]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2019-08-01 11:47:04 +02:00

22 lines
802 B
Plaintext

config BR2_PACKAGE_C_CAPNPROTO
bool "c-capnproto"
depends on BR2_USE_MMU # capnproto
depends on BR2_HOST_GCC_AT_LEAST_4_8 # capnproto
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # capnproto
depends on BR2_INSTALL_LIBSTDCPP # capnproto
depends on BR2_TOOLCHAIN_HAS_THREADS # capnproto
depends on BR2_TOOLCHAIN_HAS_ATOMIC # 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).
comment "c-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