* [ptxdist] [PATCH] libmbim: make udev support optional
@ 2026-04-29 11:51 Ladislav Michl
2026-05-18 7:53 ` [ptxdist] [APPLIED] " Michael Olbrich
0 siblings, 1 reply; 2+ messages in thread
From: Ladislav Michl @ 2026-04-29 11:51 UTC (permalink / raw)
To: ptxdist
From: Ladislav Michl <ladis@triops.cz>
Signed-off-by: Ladislav Michl <ladis@triops.cz>
---
rules/libmbim.in | 16 ++++++++++++----
rules/libmbim.make | 11 ++++++-----
2 files changed, 18 insertions(+), 9 deletions(-)
diff --git a/rules/libmbim.in b/rules/libmbim.in
index 01e222533..c7688edc7 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 0e67eed81..1b9527b51 100644
--- a/rules/libmbim.make
+++ b/rules/libmbim.make
@@ -36,13 +36,14 @@ LIBMBIM_LICENSE_FILES := \
LIBMBIM_CONF_TOOL := meson
LIBMBIM_CONF_OPT := \
$(CROSS_MESON_USR) \
- -Dbash_completion=false \
- -Dfuzzer=false \
- -Dgtk_doc=false \
+ -Dmbim_username= \
+ -Dmbim_groupname= \
+ -Dudevdir=$(call ptx/ifdef,PTXCONF_LIBMBIM_UDEV,/usr/lib/udev,) \
-Dintrospection=false \
+ -Dgtk_doc=false \
-Dman=false \
- -Dmbim_username= \
- -Dudevdir=/usr/lib/udev
+ -Dbash_completion=false \
+ -Dfuzzer=false
# ----------------------------------------------------------------------------
# Target-Install
--
2.47.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] [APPLIED] libmbim: make udev support optional
2026-04-29 11:51 [ptxdist] [PATCH] libmbim: make udev support optional Ladislav Michl
@ 2026-05-18 7:53 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2026-05-18 7:53 UTC (permalink / raw)
To: ptxdist; +Cc: Ladislav Michl
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-05-18 7:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-29 11:51 [ptxdist] [PATCH] libmbim: make udev support optional Ladislav Michl
2026-05-18 7:53 ` [ptxdist] [APPLIED] " Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox