Skip to content

Commit

Permalink
grpc: move grpc plugins to a new grpc-compiler package
Browse files Browse the repository at this point in the history
Like it's done for protobuf and flatbuffers move the binaries produce
by gRPC to a grpc-compiler package.

This is more explicit and keep coherency with protobuf and flatbuffers.

Signed-off-by: Clément Péron <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
clementperon authored and kraj committed Mar 5, 2021
1 parent d4ab3fd commit 9232086
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion meta-oe/recipes-devtools/grpc/grpc_1.36.1.bb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ DEPENDS = "c-ares protobuf protobuf-native protobuf-c protobuf-c-native openssl
DEPENDS_append_class-target = " googletest grpc-native "
DEPENDS_append_class-nativesdk = " grpc-native "

PACKAGE_BEFORE_PN = "${PN}-compiler"

RDEPENDS_${PN}-compiler = "${PN}"
RDEPENDS_${PN}-dev += "${PN}-compiler"

S = "${WORKDIR}/git"
SRCREV_grpc = "3b7f86e3516746c5f0db1947e0d65e94159bcb12"
BRANCH = "v1.36.x"
Expand Down Expand Up @@ -72,4 +77,4 @@ BBCLASSEXTEND = "native nativesdk"

SYSROOT_DIRS_BLACKLIST_append_class-target = " ${baselib}/cmake/grpc"

FILES_${PN}-dev += "${bindir}"
FILES_${PN}-compiler += "${bindir}"

0 comments on commit 9232086

Please sign in to comment.