Skip to content

Commit b7dd3e2

Browse files
committed
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
1 parent 2541f99 commit b7dd3e2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ endif
116116
conf.set_quoted('SENSOR_MONITOR_PERSIST_ROOT_PATH',
117117
get_option('sensor-monitor-persist-root-path'))
118118

119-
if get_option('enable-host-state').enabled()
119+
if get_option('use-host-power-state').enabled()
120120
conf.set('ENABLE_HOST_STATE', '')
121121
endif
122122

meson_options.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,6 @@ option(
112112
)
113113

114114
option(
115-
'enable-host-state', type: 'feature', value: 'disabled',
116-
description: 'Enable host state.'
115+
'use-host-power-state', type: 'feature', value: 'disabled',
116+
description: 'Enable using the host power state for power state checks.'
117117
)

0 commit comments

Comments
 (0)