aboutsummaryrefslogtreecommitdiff
path: root/libs/libqmi/Config.in
diff options
context:
space:
mode:
authorMaxim Anisimov <maxim.anisimov.ua@gmail.com>2022-03-26 12:04:26 +0300
committerRosen Penev <rosenp@gmail.com>2022-03-28 20:49:26 -0700
commitf7cbd445408756b7a44764080063a9a4158988ed (patch)
treeeeae26926e4549cda2a2b3790eac136be6cfeb24 /libs/libqmi/Config.in
parent189f078a35eaf07fa5fe32945b49100579df0aef (diff)
libqmi: switch to meson build tools
Using https://gitlab.freedesktop.org/mobile-broadband/libqmi.git to download the source code. Enabled lto and additional gcc flags for perfomance and less size. Added support for selecting qmi message collection. Selected basic qmi message collection by default (modemmanager requires it). Modified to use meson as upstream has abandoned autotools. Removed BUILD_PARALLEL options. These are default with ninja/meson. Signed-off-by: Maxim Anisimov <maxim.anisimov.ua@gmail.com>
Diffstat (limited to 'libs/libqmi/Config.in')
-rw-r--r--libs/libqmi/Config.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/libs/libqmi/Config.in b/libs/libqmi/Config.in
index 6f35b7453..7dfa7ca52 100644
--- a/libs/libqmi/Config.in
+++ b/libs/libqmi/Config.in
@@ -13,4 +13,19 @@ config LIBQMI_WITH_QRTR_GLIB
help
Compile libqmi with QRTR support
+choice
+ prompt "Select QMI message collection to build"
+ default LIBQMI_COLLECTION_BASIC
+
+ config LIBQMI_COLLECTION_MINIMAL
+ depends on !MODEMMANAGER_WITH_QMI
+ bool "minimal"
+
+ config LIBQMI_COLLECTION_BASIC
+ bool "basic (default)"
+
+ config LIBQMI_COLLECTION_FULL
+ bool "full"
+endchoice
+
endmenu