commit | d8cacfd45466b0695b1af00dbcedaa6907e085f1 | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Mon Apr 26 09:56:21 2021 -0500 |
committer | Matt Spinler <spinler@us.ibm.com> | Wed Apr 28 13:35:24 2021 -0500 |
tree | 790fdacdaa9b9f39d0661f626f90c2ae19bc0a42 | |
parent | 8fa48a46b4db114a671e2dafe5edeccc1a294cd9 [diff] |
Change #ifdef to #if after move to meson Unlike with autotools, meson options negative-errno-on-fail and update-functional-on-fail are written to the generated config.h file regardless of if they are enabled are not, such as #define NEGATIVE_ERRNO_ON_FAIL 1 and #define NEGATIVE_ERRNO_ON_FAIL 0 That means the code that checks the values needs to be an #if and not an The bitbake recipe has now switched over to building with meson, so right now openbmc master may not be building with the correct options depending on how these are set in the various bbappends. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I9db63c3b66c1e02175528b224cc9f0d997d31272
Exposes generic hwmon entries as DBus objects. More information can be found at Sensor Architecture
To build this package, do the following steps: 1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make To clean the repository run `./bootstrap.sh clean`.
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 an autoconf configurable prefix (BUSNAME_PREFIX, xyz.openbmc_project by default), ID is a std::hash of the /sys/devices path backing the hwmon class instance, and N is the implemented phosphor-hwmon D-Bus API version.