From 6ce4546d8489f6cdacebca8160518908e13abe31 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 4 Sep 2023 17:12:30 +0100 Subject: [PATCH] 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 Signed-off-by: Khem Raj --- meta-oe/recipes-devtools/protobuf/protobuf_3.21.12.bb | 2 -- 1 file changed, 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" FILES:${PN}-compiler = "${bindir} ${libdir}/libprotoc${SOLIBS}" FILES:${PN}-lite = "${libdir}/libprotobuf-lite${SOLIBS}" -SYSROOT_DIRS += "${bindir}" - RDEPENDS:${PN}-compiler = "${PN}" RDEPENDS:${PN}-dev += "${PN}-compiler" RDEPENDS:${PN}-ptest = "bash ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-protobuf', '', d)}"