From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] batman-adv: new package
Date: Sat, 28 May 2016 19:21:33 +0200 [thread overview]
Message-ID: <20160528192133.60ee0701@free-electrons.com> (raw)
In-Reply-To: <1464136502-302-3-git-send-email-christian@paral.in>
Hello,
I've applied, but after fixing a few things. See below.
On Tue, 24 May 2016 17:35:02 -0700, Christian Stewart wrote:
> +config BR2_PACKAGE_BATMAN_ADV_DEBUG
> + bool "enable debugging"
> + default n
"default n" is useless, as it's the default.
> + help
> + Enables B.A.T.M.A.N. debugging
Indentation is one tab + two spaces for the help text.
> +config BR2_PACKAGE_BATMAN_ADV_NC
> + bool "enable network coding"
> + default n
> + help
> + Enables B.A.T.M.A.N. network coding.
> + Note: this requires promiscuous mode on ALL nodes!
> +
> + If unsure, answer n.
> + https://www.open-mesh.org/projects/batman-adv/wiki/NetworkCoding
Same comments.
> +
> +config BR2_PACKAGE_BATMAN_ADV_BATMAN_V
> + bool "enable B.A.T.M.A.N. V protocol (experimental)"
> + default n
> + help
> + Enables B.A.T.M.A.N. V network protocol.
> + This is the next-gen protocol and is experimental at this time.
> +
> + If unsure, answer n.
> + https://www.open-mesh.org/projects/batman-adv/wiki/BATMAN_V
Ditto.
> diff --git a/package/batman-adv/batman-adv.hash b/package/batman-adv/batman-adv.hash
> new file mode 100644
> index 0000000..6c0e5ca
> --- /dev/null
> +++ b/package/batman-adv/batman-adv.hash
> @@ -0,0 +1,2 @@
> +# From https://downloads.open-mesh.org/batman/stable/sources/batman-adv/batman-adv-2016.1.tar.gz.sha1
> +sha1 c9ca52c913fbf81aca266695a77359ecdbcc8bd8 batman-adv-2016.1.tar.gz
> diff --git a/package/batman-adv/batman-adv.mk b/package/batman-adv/batman-adv.mk
> new file mode 100644
> index 0000000..f8d9ba7
> --- /dev/null
> +++ b/package/batman-adv/batman-adv.mk
> @@ -0,0 +1,36 @@
> +################################################################################
> +#
> +# batman-adv
> +#
> +################################################################################
> +
> +BATMAN_ADV_VERSION = 2016.1
> +BATMAN_ADV_SITE = https://downloads.open-mesh.org/batman/stable/sources/batman-adv
> +BATMAN_ADV_SOURCE = batman-adv-$(BATMAN_ADV_VERSION).tar.gz
> +BATMAN_ADV_LICENSE = GPL
GPL is not specific enough. The exact license is GPLv2.
> +
> +# Bridge Loop Avoidance, Distributed Arp Table are always enabled
> +BATMAN_ADV_CFLAGS = \
> + -I$(@D)/compat-include/ \
> + -include $(@D)/compat.h \
> + -DBATADV_SOURCE_VERSION=\"\\\"$(BATMAN_ADV_VERSION)\\\"\"
> +BATMAN_ADV_MAKE_OPTS = \
Naming this BATMAN_ADV_MODULE_MAKE_OPTS seems more logical, there's no
need to have an intermediate variable.
As said above, I've applied to the next branch after fixing the minor
issues pointed above.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
prev parent reply other threads:[~2016-05-28 17:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-25 0:35 [Buildroot] [PATCH 0/2] batman-adv 2016.1 kernel module Christian Stewart
2016-05-25 0:35 ` [Buildroot] [PATCH 1/2] package/batctl: bump to 2016.1 Christian Stewart
2016-05-28 14:08 ` Thomas Petazzoni
2016-05-25 0:35 ` [Buildroot] [PATCH 2/2] batman-adv: new package Christian Stewart
2016-05-28 17:21 ` Thomas Petazzoni [this message]
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=20160528192133.60ee0701@free-electrons.com \
--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