summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2021-09-10 10:09:05 +0200
committerIñigo Martínez <inigomartinez@gmail.com>2021-09-13 11:05:44 +0200
commit6a9c6bd9f5bf155c045b33b39f751a2713b9f1b1 (patch)
tree470db5d149d9117001807fc1f0d79e0e4a177dd6
parent187f86c17fab8dcd7e816e425f366f298f3a8917 (diff)
build: Improve mm_runtime_check option
The option is only used to set the `MM_RUNTIME_CHECK_ENABLED` define so there is no need to have a variable for it. The option is used directly and the linked variable has been removed.
-rw-r--r--meson.build3
1 files changed, 1 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 8b957f8..a804055 100644
--- a/meson.build
+++ b/meson.build
@@ -174,8 +174,7 @@ endif
config_h.set('RMNET_SUPPORT_ENABLED', enable_rmnet)
# runtime MM check is optional, enabled by default
-enable_mm_runtime_check = get_option('mm_runtime_check')
-config_h.set('MM_RUNTIME_CHECK_ENABLED', enable_mm_runtime_check)
+config_h.set('MM_RUNTIME_CHECK_ENABLED', get_option('mm_runtime_check'))
# QMI username
qmi_username = get_option('qmi_username')