aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorAleksander Morgado <aleksandermj@chromium.org>2024-05-09 10:52:31 +0000
committerAleksander Morgado <aleksandermj@chromium.org>2024-05-29 09:50:05 +0000
commit800c2bb02a40e0b437d4b15f16fece41c33e0d25 (patch)
treec30d768dab2486e73030c48629a982124be2bca9 /meson.build
parent33649756f5b839161e30acb4b33ce144eb93f5ef (diff)
fibocom: MBIM in shared utils is optional
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build8
1 files changed, 3 insertions, 5 deletions
diff --git a/meson.build b/meson.build
index 70b64471..0e3143a2 100644
--- a/meson.build
+++ b/meson.build
@@ -303,7 +303,7 @@ enable_gtk_doc = get_option('gtk_doc')
enable_plugins = not get_option('auto_features').disabled()
plugins_shared_reqs = {
- 'fibocom': enable_mbim,
+ 'fibocom': true,
'foxconn': enable_mbim,
'icera': true,
'novatel': true,
@@ -313,13 +313,11 @@ plugins_shared_reqs = {
'xmm': true,
}
-
-fibocom_shared_reqs = ['xmm']
dell_shared_reqs = ['novatel', 'sierra', 'telit', 'xmm']
mtk_shared_reqs = []
if enable_mbim
- fibocom_shared_reqs += ['fibocom']
dell_shared_reqs += ['foxconn']
+ # only the MBIM implementation in MTK needs the shared fibocom utils
mtk_shared_reqs += ['fibocom']
endif
@@ -330,7 +328,7 @@ plugins_options_reqs = {
'cinterion': {'available': true, 'shared': []},
'dell': {'available': true, 'shared': dell_shared_reqs},
'dlink': {'available': true, 'shared': []},
- 'fibocom': {'available': true, 'shared': fibocom_shared_reqs},
+ 'fibocom': {'available': true, 'shared': ['xmm', 'fibocom']},
'foxconn': {'available': enable_mbim, 'shared': ['foxconn']},
'generic': {'available': true, 'shared': []},
'gosuncn': {'available': true, 'shared': []},