summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2023-09-04 17:12:30 +0100
committerKhem Raj <raj.khem@gmail.com>2023-09-07 08:22:43 -0700
commit6ce4546d8489f6cdacebca8160518908e13abe31 (patch)
tree1e8214d9454b49f82198bb53d036e201c867774a /meta-oe
parent3da59b8a8a5f8c1d15cdecdb77e238f8206ee880 (diff)
downloadmeta-openembedded-6ce4546d8489f6cdacebca8160518908e13abe31.tar.gz
Revert "protobuf: stage protoc binary to sysroot"
Putting the _target_ protoc into the sysroot for executation at _build_ time isn't useful because even if it has the right architecture, the tune might be incompatible. Recipes which want protoc should just depend on protobuf-native. This reverts commit d7f46fa816964e30edb2ccfecc57a26251cc351c. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-devtools/protobuf/protobuf_3.21.12.bb2
1 files changed, 0 insertions, 2 deletions
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf_3.21.12.bb b/meta-oe/recipes-devtools/protobuf/protobuf_3.21.12.bb
index 343933033b..d95e1c20f3 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf_3.21.12.bb
+++ b/meta-oe/recipes-devtools/protobuf/protobuf_3.21.12.bb
@@ -92,8 +92,6 @@ PACKAGE_BEFORE_PN = "${PN}-compiler ${PN}-lite"
92FILES:${PN}-compiler = "${bindir} ${libdir}/libprotoc${SOLIBS}" 92FILES:${PN}-compiler = "${bindir} ${libdir}/libprotoc${SOLIBS}"
93FILES:${PN}-lite = "${libdir}/libprotobuf-lite${SOLIBS}" 93FILES:${PN}-lite = "${libdir}/libprotobuf-lite${SOLIBS}"
94 94
95SYSROOT_DIRS += "${bindir}"
96
97RDEPENDS:${PN}-compiler = "${PN}" 95RDEPENDS:${PN}-compiler = "${PN}"
98RDEPENDS:${PN}-dev += "${PN}-compiler" 96RDEPENDS:${PN}-dev += "${PN}-compiler"
99RDEPENDS:${PN}-ptest = "bash ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-protobuf', '', d)}" 97RDEPENDS:${PN}-ptest = "bash ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-protobuf', '', d)}"