From 9d336d94a35b124e59c83b0ea08f93f1a51bb165 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Wed, 25 May 2022 15:45:40 -0400 Subject: grpc: fix installed CMake package The CMake package configuration installed by grpc ends up not being usable in practice. Add a bbappend that adds the fixes: - a do_install:append to correct the version number to the actual version, as it gets mangled somehow during the grpc build. This is required to avoid triggering version mismatch checks when using the package in CMake. - backport a fix from the kirkstone branch of meta-openembedded that splits the host tools (i.e. protoc plugins) out into a separate CMake package. This avoids failures due to CMake not playing well with the split native versus target sysroots that OpenEmbedded uses. This may be revisited if grpc upstream comes up with a different approach. Bug-AGL: SPEC-4405 Signed-off-by: Scott Murray Change-Id: Ia284901c148c1fcdf1b8ab77947d8be9445be631 --- recipes-devtools/grpc/grpc_1.24.3.bbappend | 1 + 1 file changed, 1 insertion(+) create mode 100644 recipes-devtools/grpc/grpc_1.24.3.bbappend (limited to 'recipes-devtools/grpc/grpc_1.24.3.bbappend') diff --git a/recipes-devtools/grpc/grpc_1.24.3.bbappend b/recipes-devtools/grpc/grpc_1.24.3.bbappend new file mode 100644 index 000000000..d3fe6987d --- /dev/null +++ b/recipes-devtools/grpc/grpc_1.24.3.bbappend @@ -0,0 +1 @@ +require ${@bb.utils.contains('AGL_FEATURES', 'agldemo', 'grpc_agldemo.inc', '', d)} -- cgit 1.2.3-korg