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