summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-06-16 15:31:01 +0200
committerAleksander Morgado <aleksander@aleksander.es>2021-06-16 16:06:06 +0200
commit1ec255ab934762fd1afb77ba0964c63e5a4e8808 (patch)
tree321023e10c982f5e4d4049a3d5807e03e518af7a /meson_options.txt
parent8d0464749feb747b2295b31ae79629123457a250 (diff)
downloadlibqmi-1ec255ab934762fd1afb77ba0964c63e5a4e8808.tar.gz
build: allow disabling rmnet support at configure time
There may be systems using a new enough kernel that would have rmnet support as seen in the installed kernel headers, but in which CONFIG_RMNET was not really enabled, and so there is no true rmnet support during runtime. We now allow disabling rmnet support completely at configure time, so that all that logic is completely skipped if we know the kernel won't support it.
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 6f7cb628..9b2494d6 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -6,6 +6,7 @@ option('mbim_qmux', type: 'boolean', value: true, description: 'enable support f
option('mm_runtime_check', type: 'boolean', value: true, description: 'build ModemManager runtime check support')
option('qmi_username', type: 'string', value: '', description: 'user allowed to access QMI devices')
option('qrtr', type: 'boolean', value: true, description: 'enable support for QRTR protocol')
+option('rmnet', type: 'boolean', value: true, description: 'enable support for RMNET link management')
option('udev', type: 'boolean', value: true, description: 'build udev support')
option('udevdir', type: 'string', value: '', description: 'where udev base directory is')