[oe] [meta-oe][PATCH 1/3] protobuf: add recipe from meta-virtualization and tweak

Samuel Stirtzel s.stirtzel at googlemail.com
Tue Jul 16 15:36:08 UTC 2013


2013/7/13 Paul Eggleton <paul.eggleton at linux.intel.com>:
> * Add proper SUMMARY
> * Break long DESCRIPTION onto multiple lines
> * Reorder some lines
>
> Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
> ---
>  meta-oe/recipes-devtools/protobuf/protobuf_2.4.1.bb | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
>  create mode 100644 meta-oe/recipes-devtools/protobuf/protobuf_2.4.1.bb
>
> diff --git a/meta-oe/recipes-devtools/protobuf/protobuf_2.4.1.bb b/meta-oe/recipes-devtools/protobuf/protobuf_2.4.1.bb
> new file mode 100644
> index 0000000..c4ed5e6
> --- /dev/null
> +++ b/meta-oe/recipes-devtools/protobuf/protobuf_2.4.1.bb
> @@ -0,0 +1,20 @@
> +SUMMARY = "Protocol Buffers - structured data serialisation mechanism"
> +DESCRIPTION = "Protocol Buffers are a way of encoding structured data in an \
> +efficient yet extensible format. Google uses Protocol Buffers for almost \
> +all of its internal RPC protocols and file formats."
> +HOMEPAGE = "http://code.google.com/p/protobuf/"
> +SECTION = "console/tools"
> +LICENSE = "BSD-3-Clause"
> +
> +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=af6809583bfde9a31595a58bb4a24514"
> +
> +SRC_URI = "http://protobuf.googlecode.com/files/protobuf-${PV}.tar.gz"
> +
> +SRC_URI[md5sum] = "dc84e9912ea768baa1976cb7bbcea7b5"
> +SRC_URI[sha256sum] = "eac6969b617f397247e805267da2b0db3ff9e5a9163b123503a192fbb5776567"
> +
> +EXTRA_OECONF += " --with-protoc=echo"


Hi,

do you know why it doesn't use:

EXTRA_OECONF += "--with-protoc=${STAGING_BINDIR_NATIVE}/protoc"

in combination with DEPENDS += "protobuf-native" in protobuf?
Instead the recipe that uses protobuf/protoc depends on protobuf and
protobuf-native.

My assumption is, that the result would the same, and it is currently
skipping tests for the cross compiled protobuf.
Or does it archive anything else?



--
Regards
Samuel



More information about the Openembedded-devel mailing list