forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-08-21 fc437ccf3419c424092701f3d883215fa4552a8b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
config BR2_PACKAGE_PROTOBUF_C
   bool "protobuf-c"
   depends on BR2_INSTALL_LIBSTDCPP
   depends on BR2_TOOLCHAIN_HAS_THREADS
   # host-protobuf only builds on certain architectures
   depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
   depends on BR2_HOST_GCC_AT_LEAST_4_8 # host-protobuf
   help
     Code generator and runtime libraries to use Protocol Buffers
     from pure C (not C++).
 
     https://github.com/protobuf-c/protobuf-c
 
comment "protobuf-c needs a toolchain w/ C++, threads, host gcc >= 4.8"
   depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \
       || !BR2_HOST_GCC_AT_LEAST_4_8
   depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"