13d551562SPatrick Williams# phosphor-dbus-interfaces
2e375cad3SJoseph ReynoldsYAML descriptors of standard D-Bus interfaces.
3e375cad3SJoseph ReynoldsThe format is described by the [sdbusplus binding generation tool sdbus++][].
4f7616bc6SMatt Spinler
50894943fSPatrick Williams## Building
6f7616bc6SMatt Spinler
70894943fSPatrick WilliamsThis project can be built with `meson`.  The typical `meson` workflow is:
80894943fSPatrick Williams`meson builddir && ninja -C builddir`.
90894943fSPatrick Williams
1047f32d12SPatrick WilliamsThe meson files used to handle the YAML files are automatically generated
1147f32d12SPatrick Williamsand found under the `gen` subdirectory.  When adding or removing YAML files,
1247f32d12SPatrick Williamsthis must be regenerated.  This can be done with the helper script found
1347f32d12SPatrick Williamsin the `gen` subdirectory: `cd gen && ./regenerate-meson`.
140894943fSPatrick Williams
150894943fSPatrick Williams## Configuration
160894943fSPatrick Williams
170894943fSPatrick WilliamsOnly the xyz/openbmc_project interfaces are built by default.  Other interfaces
180894943fSPatrick Williamscan be enabled by meson options:
190894943fSPatrick Williams
200894943fSPatrick Williams- com/ibm - `-Ddata_com_ibm=true`
210894943fSPatrick Williams- org/open_power - `-Ddata_org_open_power=true`
220894943fSPatrick Williams
23*297845b9SVishwanatha SubbannaExample: `meson builddir -Ddata_com_ibm=true && ninja -C builddir`
240894943fSPatrick Williams## References
2583185d5fSSantosh Puranik
26e375cad3SJoseph Reynolds[sdbusplus binding generation tool sdbus++]: https://github.com/openbmc/sdbusplus/blob/master/README.md#binding-generation-tool
27