summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/protobuf/protobuf_3.21.5.bb
Commit message (Collapse)AuthorAgeFilesLines
* protobuf: stage protoc binary to sysrootSamuli Piippo2022-12-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If protoc is enabled for the build, recipes using protobuf will fail when protoc is not available in the recipe sysroot: | The imported target "protobuf::protoc" references the file | | ".../recipe-sysroot/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/bin/protoc-3.21.5.0" | | but this file does not exist. Possible reasons include: | | * The file was deleted, renamed, or moved to another location. | | * An install or uninstall procedure did not complete successfully. | | * The installation package was faulty and contained | | ".../recipe-sysroot/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/lib/cmake/protobuf/protobuf-targets.cmake" | | but not all the files it references. Use SYSROOT_DIRS to stage the binary to sysroot so it's always available for other recipes. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit d7f46fa816964e30edb2ccfecc57a26251cc351c)
* protobuf: Enable protoc binary in nativesdkKhem Raj2022-10-211-0/+1
| | | | | | | When it was disabled for target, it was enabled for native but not for nativesdk explicitly, lets do it here. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: disable protoc binary for targetVyacheslav Yurkov2022-08-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | When applications want to use protoc during the build, the target binary has to be disabled in order to avoid following error: | The imported target "protobuf::protoc" references the file | | "<application build dir>/recipe-sysroot/usr/bin/protoc-<protobuf version>" | | but this file does not exist. Possible reasons include: | | * The file was deleted, renamed, or moved to another location. | | * An install or uninstall procedure did not complete successfully. | | * The installation package was faulty and contained | | "<application build dir>/recipe-sysroot/usr/lib/cmake/protobuf/protobuf-targets.cmake" | | but not all the files it references. Signed-off-by: Vyacheslav Yurkov <Vyacheslav.Yurkov@bruker.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: change build system to cmakeVyacheslav Yurkov2022-08-271-7/+16
| | | | | | | | | | | | | Autotools support has been removed and replaced completely by CMake. See related issues for details: https://github.com/protocolbuffers/protobuf/issues/7911 https://github.com/protocolbuffers/protobuf/pull/10132 Drop autotools patches too. Signed-off-by: Vyacheslav Yurkov <Vyacheslav.Yurkov@bruker.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: 3.19.4 -> 3.21.5 upgradeVyacheslav Yurkov2022-08-271-0/+94
Drop the patch that was accepted upstream Forward port clang-mips patch Signed-off-by: Vyacheslav Yurkov <Vyacheslav.Yurkov@bruker.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>