commit | 619190dd3f732f20f2d0e35ce1654829ef6a6c23 | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Mon Sep 10 13:07:40 2018 -0700 |
committer | Patrick Venture <venture@google.com> | Fri Sep 14 11:49:15 2018 -0700 |
tree | 34471331e9474a405ba3078331918044c1508da8 | |
parent | af6227a3eb3fc918425d7588e001a75bd348232d [diff] |
Build as c++17 Set configure.ac to attempt to build with c++17. Change-Id: Ie09177e5de43bb1789befbb32678b802c1959bd2 Signed-off-by: Patrick Venture <venture@google.com>
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.