meson: Rename host power state checking option
Having 'enable' in the name of a feature option is redundant.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I1c75d4aaffb2611bd91dc3b9669806b2cc076615
diff --git a/meson.build b/meson.build
index 0258246..0307a1f 100644
--- a/meson.build
+++ b/meson.build
@@ -116,7 +116,7 @@
conf.set_quoted('SENSOR_MONITOR_PERSIST_ROOT_PATH',
get_option('sensor-monitor-persist-root-path'))
-if get_option('enable-host-state').enabled()
+if get_option('use-host-power-state').enabled()
conf.set('ENABLE_HOST_STATE', '')
endif
diff --git a/meson_options.txt b/meson_options.txt
index 4dc768a..50a8b4f 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -112,6 +112,6 @@
)
option(
- 'enable-host-state', type: 'feature', value: 'disabled',
- description: 'Enable host state.'
+ 'use-host-power-state', type: 'feature', value: 'disabled',
+ description: 'Enable using the host power state for power state checks.'
)