From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 2/2] ModemManager: add new package
Date: Sun, 27 Oct 2013 18:42:27 +0100 [thread overview]
Message-ID: <20131027184227.71ab4f03@skate> (raw)
In-Reply-To: <1382696898-1901-2-git-send-email-yegorslists@googlemail.com>
Hello,
On Fri, 25 Oct 2013 12:28:18 +0200, yegorslists at googlemail.com wrote:
> diff --git a/package/modem-manager/Config.in b/package/modem-manager/Config.in
> new file mode 100644
> index 0000000..202d846
> --- /dev/null
> +++ b/package/modem-manager/Config.in
> @@ -0,0 +1,33 @@
> +config BR2_PACKAGE_MODEM_MANAGER
> + bool "ModemManager"
I think we want all the package names to be lower case.
> + depends on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
> + select BR2_PACKAGE_DBUS
> + depends on BR2_INET_IPV6
> + depends on BR2_LARGEFILE # acl
> + depends on BR2_USE_WCHAR # libglib2 and gnutls
> + depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
> + depends on BR2_USE_MMU # dbus
> + select BR2_PACKAGE_DBUS_GLIB
> + select BR2_PACKAGE_UDEV
> + select BR2_PACKAGE_UDEV_ALL_EXTRAS
> + select BR2_PACKAGE_PCRE
> + select BR2_PACKAGE_PCRE_UTF
> + help
> + ModemManager is a DBus-activated daemon which controls mobile
> + broadband (2G/3G/4G) devices and connections.
> +
> + http://www.freedesktop.org/wiki/Software/ModemManager/
> +
> +if BR2_PACKAGE_MODEM_MANAGER
> +
> +config BR2_PACKAGE_MODEM_MANAGER_LIBQMI
> + bool "QMI support"
> + select BR2_PACKAGE_LIBQMI
> + help
> + This option enables support for QMI protocol
> +endif
> +
> +comment "ModemkManager requires a toolchain with IPV6, LARGEFILE, WCHAR and thread support"
typo on ModemManager (which should be lower case as well here).
> + depends on !BR2_INET_IPV6 || !BR2_LARGEFILE || !BR2_USE_WCHAR || \
> + !BR2_TOOLCHAIN_HAS_THREADS
Shouldn't we have a comment about the udev dependency?
> +MODEM_MANAGER_VERSION = 1.0.0
> +MODEM_MANAGER_SOURCE = ModemManager-$(MODEM_MANAGER_VERSION).tar.xz
> +MODEM_MANAGER_SITE = http://www.freedesktop.org/software/ModemManager/
> +MODEM_MANAGER_DEPENDENCIES = host-pkgconf udev dbus-glib host-intltool
You don't depend on pcre?
Also, as you mentioned in a reply, please add the licensing
information. Note that it seems to be GPLv2+ and not GPLv2.
> +MODEM_MANAGER_CONF_OPT = \
> + --without-mbim
One too many tabs in this indentation.
> +ifeq ($(BR2_PACKAGE_MODEM_MANAGER_LIBQMI),y)
> + MODEM_MANAGER_DEPENDENCIES += libqmi
MODEM_MANAGER_CONF_OPT += --with-qmi
> +else
> + MODEM_MANAGER_CONF_OPT += --without-qmi
> +endif
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2013-10-27 17:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-25 10:28 [Buildroot] [PATCH v2 1/2] pcre: add UTF support option yegorslists at googlemail.com
2013-10-25 10:28 ` [Buildroot] [PATCH v2 2/2] ModemManager: add new package yegorslists at googlemail.com
2013-10-25 10:55 ` Yegor Yefremov
2013-10-27 17:42 ` Thomas Petazzoni [this message]
2013-10-27 19:31 ` Yegor Yefremov
2013-10-27 17:24 ` [Buildroot] [PATCH v2 1/2] pcre: add UTF support option Thomas Petazzoni
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=20131027184227.71ab4f03@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.