mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-09 04:26:51 +00:00
Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
43 lines
1.5 KiB
BlitzBasic
43 lines
1.5 KiB
BlitzBasic
SUMMARY = "Protocol Buffers - structured data serialisation mechanism"
|
|
DESCRIPTION = "This is protobuf-c, a C implementation of the Google Protocol Buffers data \
|
|
serialization format. It includes libprotobuf-c, a pure C library that \
|
|
implements protobuf encoding and decoding, and protoc-c, a code generator that \
|
|
converts Protocol Buffer .proto files to C descriptor code, based on the \
|
|
original protoc. protobuf-c formerly included an RPC implementation; that code \
|
|
has been split out into the protobuf-c-rpc project."
|
|
HOMEPAGE = "https://github.com/protobuf-c/protobuf-c"
|
|
SECTION = "console/tools"
|
|
LICENSE = "BSD-2-Clause"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=bd8de4f63e06b1ccc06e9f8dc5b1aa97"
|
|
|
|
DEPENDS = "protobuf-native protobuf"
|
|
|
|
SRC_URI = "git://github.com/protobuf-c/protobuf-c.git;branch=master;protocol=https \
|
|
file://protobuf-30.patch \
|
|
"
|
|
SRC_URI:append:class-native = " file://0001-Makefile.am-do-not-compile-the-code-which-was-genera.patch"
|
|
|
|
SRCREV = "185beed28e65494be7505b30c1afeaf199e19b23"
|
|
|
|
|
|
inherit autotools pkgconfig
|
|
|
|
export PROTOC = "${STAGING_BINDIR_NATIVE}/protoc"
|
|
|
|
# After several fix attempts there is still a race between generating
|
|
# t.test-full.pb.h and compiling cxx_generate_packed_data.c despite
|
|
# BUILT_SOURCES and explicit dependencies.
|
|
PARALLEL_MAKE = ""
|
|
|
|
PACKAGE_BEFORE_PN = "${PN}-compiler"
|
|
|
|
FILES:${PN}-compiler = "${bindir}"
|
|
|
|
RDEPENDS:${PN}-compiler = "protobuf-compiler"
|
|
RDEPENDS:${PN}-dev += "${PN}-compiler"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|
|
# No 64bit atomics
|
|
LDFLAGS:append:riscv32 = " -latomic"
|