diff options
-rw-r--r-- | meta-oe/recipes-devtools/grpc/grpc_1.38.1.bb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/grpc/grpc_1.38.1.bb b/meta-oe/recipes-devtools/grpc/grpc_1.38.1.bb index b4f10662dc..e2b86dad13 100644 --- a/meta-oe/recipes-devtools/grpc/grpc_1.38.1.bb +++ b/meta-oe/recipes-devtools/grpc/grpc_1.38.1.bb | |||
@@ -13,7 +13,11 @@ DEPENDS:append:class-nativesdk = " grpc-native " | |||
13 | PACKAGE_BEFORE_PN = "${PN}-compiler" | 13 | PACKAGE_BEFORE_PN = "${PN}-compiler" |
14 | 14 | ||
15 | RDEPENDS:${PN}-compiler = "${PN}" | 15 | RDEPENDS:${PN}-compiler = "${PN}" |
16 | RDEPENDS:${PN}-dev += "${PN}-compiler" | 16 | RDEPENDS:${PN}-dev:class_native += "${PN}-compiler" |
17 | # Configuration above allows to cross-compile gRPC applications | ||
18 | # In order to compile applications on the target, use the dependency below | ||
19 | # Both dependencies are mutually exclusive | ||
20 | # RDEPENDS:${PN}-dev += "${PN}-compiler" | ||
17 | 21 | ||
18 | S = "${WORKDIR}/git" | 22 | S = "${WORKDIR}/git" |
19 | SRCREV_grpc = "96b73272eadc01afb5fb45b92b408c47e4387274" | 23 | SRCREV_grpc = "96b73272eadc01afb5fb45b92b408c47e4387274" |
@@ -39,6 +43,7 @@ EXTRA_OECMAKE = " \ | |||
39 | " | 43 | " |
40 | 44 | ||
41 | PACKAGECONFIG ??= "cpp shared" | 45 | PACKAGECONFIG ??= "cpp shared" |
46 | PACKAGECONFIG_class-target ?= "shared" | ||
42 | PACKAGECONFIG[cpp] = "-DgRPC_BUILD_GRPC_CPP_PLUGIN=ON,-DgRPC_BUILD_GRPC_CPP_PLUGIN=OFF" | 47 | PACKAGECONFIG[cpp] = "-DgRPC_BUILD_GRPC_CPP_PLUGIN=ON,-DgRPC_BUILD_GRPC_CPP_PLUGIN=OFF" |
43 | PACKAGECONFIG[csharp] = "-DgRPC_BUILD_GRPC_CSHARP_PLUGIN=ON,-DgRPC_BUILD_GRPC_CSHARP_PLUGIN=OFF" | 48 | PACKAGECONFIG[csharp] = "-DgRPC_BUILD_GRPC_CSHARP_PLUGIN=ON,-DgRPC_BUILD_GRPC_CSHARP_PLUGIN=OFF" |
44 | PACKAGECONFIG[node] = "-DgRPC_BUILD_GRPC_NODE_PLUGIN=ON,-DgRPC_BUILD_GRPC_NODE_PLUGIN=OFF" | 49 | PACKAGECONFIG[node] = "-DgRPC_BUILD_GRPC_NODE_PLUGIN=ON,-DgRPC_BUILD_GRPC_NODE_PLUGIN=OFF" |