From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/modem-manager: use libqmi and libmbim if they are selected
Date: Mon, 4 Nov 2019 22:05:13 +0100 [thread overview]
Message-ID: <20191104220513.5e8c6269@windsurf.home> (raw)
In-Reply-To: <20191104124844.8112-1-unixmania@gmail.com>
Hello,
Adding our Config.in.legacy expert Arnout.
On Mon, 4 Nov 2019 09:48:44 -0300
unixmania at gmail.com wrote:
> diff --git a/Config.in.legacy b/Config.in.legacy
> index fcb10b1291..3336ef85d1 100644
> --- a/Config.in.legacy
> +++ b/Config.in.legacy
> @@ -146,6 +146,22 @@ endif
>
> comment "Legacy options removed in 2019.11"
>
> +config BR2_PACKAGE_MODEM_MANAGER_LIBMBIM
> + bool "BR2_PACKAGE_MODEM_MANAGER_LIBMBIM has been removed"
> + select BR2_LEGACY
> + select BR2_PACKAGE_LIBMBIM
> + help
> + Select BR2_PACKAGE_LIBMBIM to enable support for MBIM protocol
> + in ModemManager
> +
> +config BR2_PACKAGE_MODEM_MANAGER_LIBQMI
> + bool "BR2_PACKAGE_MODEM_MANAGER_LIBQMI has been removed"
> + select BR2_LEGACY
> + select BR2_PACKAGE_LIBQMI
> + help
> + Select BR2_PACKAGE_LIBQMI to enable support for QMI protocol
> + in ModemManager
I think in this specific case, we don't need Config.in.legacy handling.
Indeed, a full .config that had BR2_PACKAGE_MODEM_MANAGER_LIBQMI
enabled will already have BR2_PACKAGE_LIBQMI, and since the .mk file
now relies on BR2_PACKAGE_LIBQMI to enable libqmi support in
modem-manager, I think we're good.
Of course, that won't work for defconfigs, but I believe updating with
a defconfig is not really guaranteed to give the right result. Arnout ?
Other than that, patch looks good to me. No need to resend, let's just
wait to see what Arnout says about the Config.in.legacy handling.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2019-11-04 21:05 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-04 12:48 [Buildroot] [PATCH] package/modem-manager: use libqmi and libmbim if they are selected unixmania at gmail.com
2019-11-04 13:03 ` Aleksander Morgado
2019-11-04 13:27 ` Carlos Santos
2019-11-04 14:36 ` Aleksander Morgado
2019-11-04 17:30 ` Yegor Yefremov
2019-11-04 21:05 ` Thomas Petazzoni [this message]
2019-11-06 13:12 ` Arnout Vandecappelle
2019-11-06 20:45 ` Carlos Santos
2020-04-19 21:00 ` Thomas Petazzoni
2020-04-20 9:11 ` Aleksander Morgado
2020-04-20 11:54 ` Thomas Petazzoni
2020-05-05 12:10 ` Aleksander Morgado
2020-05-05 17:06 ` Yann E. MORIN
2020-05-06 13:09 ` Aleksander Morgado
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=20191104220513.5e8c6269@windsurf.home \
--to=thomas.petazzoni@bootlin.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