13d551562SPatrick Williams# phosphor-dbus-interfaces
2*388b58f9SPatrick Williams
3e375cad3SJoseph ReynoldsYAML descriptors of standard D-Bus interfaces.
4e375cad3SJoseph ReynoldsThe format is described by the [sdbusplus binding generation tool sdbus++][].
5f7616bc6SMatt Spinler
60894943fSPatrick Williams## Building
7f7616bc6SMatt Spinler
80894943fSPatrick WilliamsThis project can be built with `meson`. The typical `meson` workflow is:
90894943fSPatrick Williams`meson builddir && ninja -C builddir`.
100894943fSPatrick Williams
1147f32d12SPatrick WilliamsThe meson files used to handle the YAML files are automatically generated
1247f32d12SPatrick Williamsand found under the `gen` subdirectory. When adding or removing YAML files,
1347f32d12SPatrick Williamsthis must be regenerated. This can be done with the helper script found
1447f32d12SPatrick Williamsin the `gen` subdirectory: `cd gen && ./regenerate-meson`.
150894943fSPatrick Williams
160894943fSPatrick Williams## Configuration
170894943fSPatrick Williams
1854ed0a11SShawn McCarneyOnly the xyz/openbmc_project and org/freedesktop interfaces are built by
1954ed0a11SShawn McCarneydefault. Other interfaces can be enabled by meson options:
200894943fSPatrick Williams
210894943fSPatrick Williams- com/ibm - `-Ddata_com_ibm=true`
220894943fSPatrick Williams- org/open_power - `-Ddata_org_open_power=true`
230894943fSPatrick Williams
24297845b9SVishwanatha SubbannaExample: `meson builddir -Ddata_com_ibm=true && ninja -C builddir`
25*388b58f9SPatrick Williams
260894943fSPatrick Williams## References
2783185d5fSSantosh Puranik
28e375cad3SJoseph Reynolds[sdbusplus binding generation tool sdbus++]: https://github.com/openbmc/sdbusplus/blob/master/README.md#binding-generation-tool
29