From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Ladislav Michl <oss-lists@triops.cz>
Subject: Re: [ptxdist] [APPLIED] libmbim: make udev support optional
Date: Mon, 18 May 2026 09:53:23 +0200 [thread overview]
Message-ID: <20260518075323.49494-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <afHwuYcBhreA-0bM@lenoch>
Thanks, applied as f9332e0c897cb2c4066bc3eaaaf2b846927108b3.
Michael
[sent from post-receive hook]
On Mon, 18 May 2026 09:53:23 +0200, Ladislav Michl <oss-lists@triops.cz> wrote:
> Signed-off-by: Ladislav Michl <ladis@triops.cz>
> Message-Id: <afHwuYcBhreA-0bM@lenoch>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/libmbim.in b/rules/libmbim.in
> index 01e222533580..c7688edc7656 100644
> --- a/rules/libmbim.in
> +++ b/rules/libmbim.in
> @@ -1,13 +1,21 @@
> ## SECTION=networking
>
> -config LIBMBIM
> +menuconfig LIBMBIM
> tristate
> select HOST_MESON
> select GLIB
> - select UDEV
> - select LIBGUDEV
> - prompt "libmbim"
> + select UDEV if LIBMBIM_UDEV
> + select LIBGUDEV if LIBMBIM_UDEV
> + prompt "libmbim "
> help
> libmbim is a glib-based library for talking to WWAN modems and
> devices which speak the Mobile Interface Broadband Model (MBIM)
> protocol.
> +
> +if LIBMBIM
> +
> +config LIBMBIM_UDEV
> + bool "enable udev support"
> + default y
> +
> +endif
> diff --git a/rules/libmbim.make b/rules/libmbim.make
> index 0e67eed81d16..fa4d22c5835c 100644
> --- a/rules/libmbim.make
> +++ b/rules/libmbim.make
> @@ -41,8 +41,9 @@ LIBMBIM_CONF_OPT := \
> -Dgtk_doc=false \
> -Dintrospection=false \
> -Dman=false \
> + -Dmbim_groupname= \
> -Dmbim_username= \
> - -Dudevdir=/usr/lib/udev
> + -Dudevdir=$(call ptx/ifdef,PTXCONF_LIBMBIM_UDEV,/usr/lib/udev,)
>
> # ----------------------------------------------------------------------------
> # Target-Install
prev parent reply other threads:[~2026-05-18 7:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-29 11:51 [ptxdist] [PATCH] " Ladislav Michl
2026-05-18 7:53 ` Michael Olbrich [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=20260518075323.49494-1-m.olbrich@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=oss-lists@triops.cz \
--cc=ptxdist@pengutronix.de \
/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