mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-03 02:10:04 +00:00
grpc: Enable cpp plugin for target version too
This is needed by packages like sysdig Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -13,7 +13,7 @@ DEPENDS:append:class-nativesdk = " grpc-native "
|
|||||||
PACKAGE_BEFORE_PN = "${PN}-compiler"
|
PACKAGE_BEFORE_PN = "${PN}-compiler"
|
||||||
|
|
||||||
RDEPENDS:${PN}-compiler = "${PN}"
|
RDEPENDS:${PN}-compiler = "${PN}"
|
||||||
RDEPENDS:${PN}-dev:class_native += "${PN}-compiler"
|
RDEPENDS:${PN}-dev:append:class-native = " ${PN}-compiler"
|
||||||
# Configuration above allows to cross-compile gRPC applications
|
# Configuration above allows to cross-compile gRPC applications
|
||||||
# In order to compile applications on the target, use the dependency below
|
# In order to compile applications on the target, use the dependency below
|
||||||
# Both dependencies are mutually exclusive
|
# Both dependencies are mutually exclusive
|
||||||
@@ -45,7 +45,6 @@ EXTRA_OECMAKE = " \
|
|||||||
"
|
"
|
||||||
|
|
||||||
PACKAGECONFIG ??= "cpp shared"
|
PACKAGECONFIG ??= "cpp shared"
|
||||||
PACKAGECONFIG_class-target ?= "shared"
|
|
||||||
PACKAGECONFIG[cpp] = "-DgRPC_BUILD_GRPC_CPP_PLUGIN=ON,-DgRPC_BUILD_GRPC_CPP_PLUGIN=OFF"
|
PACKAGECONFIG[cpp] = "-DgRPC_BUILD_GRPC_CPP_PLUGIN=ON,-DgRPC_BUILD_GRPC_CPP_PLUGIN=OFF"
|
||||||
PACKAGECONFIG[csharp] = "-DgRPC_BUILD_GRPC_CSHARP_PLUGIN=ON,-DgRPC_BUILD_GRPC_CSHARP_PLUGIN=OFF"
|
PACKAGECONFIG[csharp] = "-DgRPC_BUILD_GRPC_CSHARP_PLUGIN=ON,-DgRPC_BUILD_GRPC_CSHARP_PLUGIN=OFF"
|
||||||
PACKAGECONFIG[node] = "-DgRPC_BUILD_GRPC_NODE_PLUGIN=ON,-DgRPC_BUILD_GRPC_NODE_PLUGIN=OFF"
|
PACKAGECONFIG[node] = "-DgRPC_BUILD_GRPC_NODE_PLUGIN=ON,-DgRPC_BUILD_GRPC_NODE_PLUGIN=OFF"
|
||||||
|
|||||||
Reference in New Issue
Block a user