commit | 58bd8ba875c772e0b7e234e02f36483718215077 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Nov 29 06:44:49 2023 -0600 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Nov 29 06:44:49 2023 -0600 |
tree | 651740ca4ac331f4100f74db367ec6ba7a638ad1 | |
parent | c8e818dda788fdd30909707008be4d4af3f716bf [diff] |
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: I0fe9c9363a6a6dc1cd508da03ab30dde022c5526 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Exposes generic hwmon entries as DBus objects. More information can be found at Sensor Architecture
To build this package, do the following steps:
To clean the repository run rm -rf build
.
To enable the use of Linux features like cgroups prioritization and udev/systemd control, one instance of phosphor-hwmon is intended to be run per hwmon sysfs class instance.
This requires an algorithm for selecting a stable, well-known D-Bus busname.
The algorithm is <PREFIX>-<ID>.Hwmon<N>
where PREFIX is a meson configurable prefix (BUSNAME_PREFIX=xyz.openbmc_project
by default), ID is either a std::hash
of the /sys/devices
path backing the hwmon class instance or provided suffix value from the command line, and N is the implemented phosphor-hwmon D-Bus API version.