1# phosphor-dbus-interfaces
2
3YAML descriptors of standard D-Bus interfaces.
4The format is described by the [sdbusplus binding generation tool sdbus++][].
5
6## Building
7
8This project can be built with `meson`. The typical `meson` workflow is:
9`meson builddir && ninja -C builddir`.
10
11The meson files used to handle the YAML files are automatically generated
12and found under the `gen` subdirectory. When adding or removing YAML files,
13this must be regenerated. This can be done with the helper script found
14in the `gen` subdirectory: `cd gen && ./regenerate-meson`.
15
16## Configuration
17
18Only the xyz/openbmc_project and org/freedesktop interfaces are built by
19default. Other interfaces can be enabled by meson options:
20
21- com/ibm - `-Ddata_com_ibm=true`
22- org/open_power - `-Ddata_org_open_power=true`
23
24Example: `meson builddir -Ddata_com_ibm=true && ninja -C builddir`
25
26## References
27
28[sdbusplus binding generation tool sdbus++]: https://github.com/openbmc/sdbusplus/blob/master/README.md#binding-generation-tool
29