Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] New package protobuf
Date: Wed, 7 Mar 2012 20:23:04 +0100	[thread overview]
Message-ID: <20120307202304.19ec2f11@skate> (raw)
In-Reply-To: <CAHt8ZCM9ZD=VSEc5UJ+98NTiwhYsAz0sGXCt+yNPVMAKCB8qtg@mail.gmail.com>

Hello Simon,

Thanks for your patches!

Le Wed, 7 Mar 2012 18:06:29 +0000,
Simon Dawson <spdawson@gmail.com> a ?crit :

> Patch to add protobuf package (Google protocol buffers) to buildroot.
> 
> http://code.google.com/p/protobuf/

Please add your Signed-off-by line here.

> diff --git a/package/protobuf/Config.in b/package/protobuf/Config.in
> new file mode 100644
> index 0000000..6a7447f
> --- /dev/null
> +++ b/package/protobuf/Config.in
> @@ -0,0 +1,7 @@
> +config BR2_PACKAGE_PROTOBUF
> +	bool "protobuf"
> +	help
> +	Protocol buffers are Google's language-neutral, platform-neutral,
> +	extensible mechanism for serializing structured data.
> +
> +	 http://code.google.com/p/protobuf/

Indentation for the help text is one tab + 2 spaces.

> +#############################################################
> +#
> +# protobuf
> +#
> +#############################################################
> +PROTOBUF_VERSION = 2.4.1
> +PROTOBUF_SITE = http://protobuf.googlecode.com/files/
> +
> +# N.B. Need to use host protoc during cross compilation.
> +PROTOBUF_DEPENDENCIES = host-protobuf
> +PROTOBUF_CONF_OPT = --with-protoc=$(HOST_DIR)/usr/bin/protoc
> +
> +$(eval $(call AUTOTARGETS))
> +$(eval $(call AUTOTARGETS,host))

Otherwise looks good.

Just curious, what does protobuf installs on the target? Is it a
library? A utility?

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  reply	other threads:[~2012-03-07 19:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-07 18:06 [Buildroot] New package protobuf Simon Dawson
2012-03-07 19:23 ` Thomas Petazzoni [this message]
2012-03-07 21:14   ` Simon Dawson
2012-03-09  8:16     ` Thomas Petazzoni
2012-03-09 11:27       ` Simon Dawson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120307202304.19ec2f11@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox