diff options
author | Peter Marko <peter.marko@siemens.com> | 2025-02-03 19:22:03 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-02-03 13:03:24 -0800 |
commit | 12c7be0e8a1c07603deb6a780a5827826864a9ad (patch) | |
tree | c3fb633b99261ea7b5436efbda9acf08c9f869b5 /meta-oe/recipes-devtools/protobuf | |
parent | 5a0d4d3e880b4b999743f0f65e11fbd7e7d707e8 (diff) | |
download | meta-openembedded-12c7be0e8a1c07603deb6a780a5827826864a9ad.tar.gz |
protobuf: remove rdepends on abseil-cpp
This commit reverts
https://git.openembedded.org/meta-openembedded/commit/?id=5af1cd3ada4cc86864810a12c82771ba1afdce64
That commit prefers sdk development instead of release images.
The additional libraries are not needed for protobuf at runtime.
Also any component depending on protobuf will have whole abseil-cpp in
sysroots so linking all the libraries is possible and any additional
ones will be installed.
What may not work is if protobuf is installed in sdk image and
application using it wants to use an additional abseil-cpp library.
However that is easily fixable by adding also abseil-cpp to sdk.
Removing hard-dependency in release images is much harder.
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/protobuf')
-rw-r--r-- | meta-oe/recipes-devtools/protobuf/protobuf_4.25.5.bb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf_4.25.5.bb b/meta-oe/recipes-devtools/protobuf/protobuf_4.25.5.bb index efd70d6474..c7e9408870 100644 --- a/meta-oe/recipes-devtools/protobuf/protobuf_4.25.5.bb +++ b/meta-oe/recipes-devtools/protobuf/protobuf_4.25.5.bb | |||
@@ -106,8 +106,6 @@ FILES:${PN}-lite = "${libdir}/libprotobuf-lite${SOLIBS}" | |||
106 | # CMake requires protoc binary to exist in sysroot, even if it has wrong architecture. | 106 | # CMake requires protoc binary to exist in sysroot, even if it has wrong architecture. |
107 | SYSROOT_DIRS += "${bindir}" | 107 | SYSROOT_DIRS += "${bindir}" |
108 | 108 | ||
109 | RDEPENDS:${PN} = "abseil-cpp" | ||
110 | RDEPENDS:${PN}-lite = "abseil-cpp" | ||
111 | RDEPENDS:${PN}-compiler = "${PN}" | 109 | RDEPENDS:${PN}-compiler = "${PN}" |
112 | RDEPENDS:${PN}-dev += "${@bb.utils.contains('PACKAGECONFIG', 'compiler', '${PN}-compiler', '', d)}" | 110 | RDEPENDS:${PN}-dev += "${@bb.utils.contains('PACKAGECONFIG', 'compiler', '${PN}-compiler', '', d)}" |
113 | RDEPENDS:${PN}-ptest = "bash ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-protobuf', '', d)}" | 111 | RDEPENDS:${PN}-ptest = "bash ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-protobuf', '', d)}" |