diff options
author | Iñigo Martínez <inigomartinez@gmail.com> | 2021-11-05 12:45:56 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-11-08 09:28:55 +0000 |
commit | ec2e5403f14892047f391f63982bf5e4b30438c2 (patch) | |
tree | c5d8a6411f616de2d35ebdef6b37a93f922d6bc8 /meson_options.txt | |
parent | 7a7bc2e44409a1b07c745fc373c071ed0610c6c9 (diff) |
build,meson: Make feature options boolean
Different options are set as `feature`, also every possible plugin,
but this may cause confusion.
All options set as `feature` but plugins have been made `boolean` to
avoid further confusions.
`help2man` is also installed in the CI image because is required to
build different libraries.
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meson_options.txt b/meson_options.txt index cef6d089..137364f8 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-or-later # Copyright (C) 2021 Iñigo Martinez <inigomartinez@gmail.com> -option('udev', type: 'feature', value: 'auto', description: 'enable udev support') +option('udev', type: 'boolean', value: true, description: 'enable udev support') option('udevdir', type: 'string', value: '', description: 'udev base directory') option('dbus_policy_dir', type: 'string', value: '', description: 'd-bus system policy directory') @@ -14,9 +14,9 @@ option('polkit', type: 'combo', choices: ['strict', 'permissive', 'no'], value: option('at_command_via_dbus', type: 'boolean', value: false, description: 'enable at commands vida d-bus') -option('mbim', type: 'feature', value: 'auto', description: 'enable MBIM support') -option('qmi', type: 'feature', value: 'auto', description: 'enable QMI support') -option('qrtr', type: 'feature', value: 'auto', description: 'enable QRTR support') +option('mbim', type: 'boolean', value: true, description: 'enable MBIM support') +option('qmi', type: 'boolean', value: true, description: 'enable QMI support') +option('qrtr', type: 'boolean', value: true, description: 'enable QRTR support') option('dist_version', type: 'string', value: '', description: 'define the custom version (like distribution package name and revision') @@ -86,7 +86,7 @@ option('plugin_x22x', type: 'feature', value: 'auto', description: 'enable x22x # shared_icera option('plugin_zte', type: 'feature', value: 'auto', description: 'enable zte plugin support') -option('introspection', type: 'feature', value: 'auto', description: 'build introspection support') +option('introspection', type: 'boolean', value: true, description: 'build introspection support') option('vapi', type: 'boolean', value: false, description: 'build vala bindings') option('man', type: 'boolean', value: true, description: 'build manual pages') |