mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 02:31:27 +00:00
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 d7f46fa816.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -92,8 +92,6 @@ PACKAGE_BEFORE_PN = "${PN}-compiler ${PN}-lite"
|
|||||||
FILES:${PN}-compiler = "${bindir} ${libdir}/libprotoc${SOLIBS}"
|
FILES:${PN}-compiler = "${bindir} ${libdir}/libprotoc${SOLIBS}"
|
||||||
FILES:${PN}-lite = "${libdir}/libprotobuf-lite${SOLIBS}"
|
FILES:${PN}-lite = "${libdir}/libprotobuf-lite${SOLIBS}"
|
||||||
|
|
||||||
SYSROOT_DIRS += "${bindir}"
|
|
||||||
|
|
||||||
RDEPENDS:${PN}-compiler = "${PN}"
|
RDEPENDS:${PN}-compiler = "${PN}"
|
||||||
RDEPENDS:${PN}-dev += "${PN}-compiler"
|
RDEPENDS:${PN}-dev += "${PN}-compiler"
|
||||||
RDEPENDS:${PN}-ptest = "bash ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-protobuf', '', d)}"
|
RDEPENDS:${PN}-ptest = "bash ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-protobuf', '', d)}"
|
||||||
|
|||||||
Reference in New Issue
Block a user