commit | 54ed0a11ec7915618f839fe21cedb0ecc87c0f14 | [log] [tgz] |
---|---|---|
author | Shawn McCarney <shawnmm@us.ibm.com> | Wed Dec 08 11:14:46 2021 -0600 |
committer | Shawn McCarney <shawnmm@us.ibm.com> | Fri Dec 10 10:06:32 2021 -0600 |
tree | e863796a05aa6271ee399af28f42a81949934883 | |
parent | f05e2050dbba80d130fa87875448cf48e97ce7f6 [diff] |
Add UPower Device interface Add a YAML description of the UPower Device interface defined at https://upower.freedesktop.org/docs/Device.html Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com> Change-Id: Ib70d6525b913cf06da4e93a53e332487126f1db0
YAML descriptors of standard D-Bus interfaces. The format is described by the sdbusplus binding generation tool sdbus++.
This project can be built with meson
. The typical meson
workflow is: meson builddir && ninja -C builddir
.
The meson files used to handle the YAML files are automatically generated and found under the gen
subdirectory. When adding or removing YAML files, this must be regenerated. This can be done with the helper script found in the gen
subdirectory: cd gen && ./regenerate-meson
.
Only the xyz/openbmc_project and org/freedesktop interfaces are built by default. Other interfaces can be enabled by meson options:
-Ddata_com_ibm=true
-Ddata_org_open_power=true
Example: meson builddir -Ddata_com_ibm=true && ninja -C builddir