Home
last modified time | relevance | path

Searched hist:"388 fc572" (Results 1 – 2 of 2) sorted by relevance

/openbmc/phosphor-fan-presence/monitor/
H A Dmeson.build388fc572 Wed Nov 29 06:43:49 CST 2023 Patrick Williams <patrick@stwcx.xyz> build: use allowed over enabled

Meson feature options are typically in a tri-state of enabled, disabled,
or auto. The enabled and disabled functions on an option (from
`get_option`) no longer return true for auto features. Instead, the
expectation is to use `allowed()` which is true for both enabled and auto.

Switch all uses of `enabled` to `allowed`.

Change-Id: I8d258c64711ba2cb2cdfb19f9cd827c489a417bd
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
/openbmc/phosphor-fan-presence/
H A Dmeson.build388fc572 Wed Nov 29 06:43:49 CST 2023 Patrick Williams <patrick@stwcx.xyz> build: use allowed over enabled

Meson feature options are typically in a tri-state of enabled, disabled,
or auto. The enabled and disabled functions on an option (from
`get_option`) no longer return true for auto features. Instead, the
expectation is to use `allowed()` which is true for both enabled and auto.

Switch all uses of `enabled` to `allowed`.

Change-Id: I8d258c64711ba2cb2cdfb19f9cd827c489a417bd
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>