generated from gaoyang3513/SDK_RK3288
[Mod] First commit
This commit is contained in:
27
package/c-capnproto/Config.in
Normal file
27
package/c-capnproto/Config.in
Normal file
@ -0,0 +1,27 @@
|
||||
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
|
||||
3
package/c-capnproto/c-capnproto.hash
Normal file
3
package/c-capnproto/c-capnproto.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 1e35ef786bd8e418ff04fccb20ac881a87fa2fa76df1cbddc4774e35423bafb8 c-capnproto-9053ebe6eeb2ae762655b982e27c341cb568366d-br1.tar.gz
|
||||
sha256 27797e6c7dce96675d79ed250584d157b7a86405db6eb6fba9644e6d96d42c57 COPYING
|
||||
24
package/c-capnproto/c-capnproto.mk
Normal file
24
package/c-capnproto/c-capnproto.mk
Normal file
@ -0,0 +1,24 @@
|
||||
################################################################################
|
||||
#
|
||||
# c-capnproto
|
||||
#
|
||||
################################################################################
|
||||
|
||||
C_CAPNPROTO_VERSION = 9053ebe6eeb2ae762655b982e27c341cb568366d
|
||||
C_CAPNPROTO_SITE = https://github.com/opensourcerouting/c-capnproto.git
|
||||
C_CAPNPROTO_SITE_METHOD = git
|
||||
C_CAPNPROTO_GIT_SUBMODULES = YES
|
||||
C_CAPNPROTO_LICENSE = MIT
|
||||
C_CAPNPROTO_LICENSE_FILES = COPYING
|
||||
C_CAPNPROTO_INSTALL_STAGING = YES
|
||||
|
||||
# Fetched from git with no configure script
|
||||
C_CAPNPROTO_AUTORECONF = YES
|
||||
|
||||
# As a plugin for capnproto's capnpc, requires capnproto. Needs to be on the
|
||||
# host to generate C code from message definitions.
|
||||
C_CAPNPROTO_DEPENDENCIES = host-c-capnproto capnproto
|
||||
HOST_C_CAPNPROTO_DEPENDENCIES = host-capnproto
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user