Skip to content

Commit

Permalink
Revert "protobuf: stage protoc binary to sysroot"
Browse files Browse the repository at this point in the history
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 d7f46fa.

Signed-off-by: Ross Burton <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
rossburton authored and kraj committed Sep 4, 2023
1 parent 07dde0f commit 9e00b0f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions meta-oe/recipes-devtools/protobuf/protobuf_3.21.12.bb
Original file line number Diff line number Diff line change
Expand Up @@ -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)}"
Expand Down

0 comments on commit 9e00b0f

Please sign in to comment.