Searched hist:ce6c5c54d4456d7c5d0fd2fa294003127398b17f (Results 1 – 2 of 2) sorted by relevance
/openbmc/phosphor-psu-code-mgmt/vendor-example/ |
H A D | meson.build | diff ce6c5c54d4456d7c5d0fd2fa294003127398b17f Wed Nov 29 06:44:33 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: Icb327fb26f7ffe6c08b0220caf8a489dfb7d1248 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
/openbmc/phosphor-psu-code-mgmt/test/ |
H A D | meson.build | diff ce6c5c54d4456d7c5d0fd2fa294003127398b17f Wed Nov 29 06:44:33 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: Icb327fb26f7ffe6c08b0220caf8a489dfb7d1248 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|