* [ptxdist] [PATCH] libmbim: make udev support optional
@ 2026-04-29 11:51 Ladislav Michl
0 siblings, 0 replies; only message 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] only message in thread
only message in thread, other threads:[~2026-04-29 11:51 UTC | newest]
Thread overview: (only message) (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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox