build: add sdbus++-gen-meson generated files

Use the tool to generate the meson.build files for the current
tree of interfaces, but do not utilize them yet.  Add a
small helper tool to regenerate as needed.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ie1f68984e5b01dcab661863d2ac719d0e3cd45c1
278 files changed
tree: dcdba94247e3eb3537406ade887a72a0b8be2450
  1. com/
  2. gen/
  3. org/
  4. subprojects/
  5. xyz/
  6. .gitignore
  7. bootstrap.sh
  8. configure.ac
  9. generate_makefile.sh
  10. generate_yaml_makefile.sh
  11. LICENSE
  12. MAINTAINERS
  13. Makefile.am
  14. Makefile.interfaces.in
  15. Makefile.yaml.in
  16. meson.build
  17. meson_options.txt
  18. phosphor-dbus-interfaces.pc.in
  19. README.md
README.md

phosphor-dbus-interfaces

YAML descriptors of standard D-Bus interfaces. The format is described by the sdbusplus binding generation tool sdbus++.

Building

This project can be built with meson. The typical meson workflow is: meson builddir && ninja -C builddir.

Due to the limited code generation methods available in meson today, changes to YAML files are not tracked by meson and do not automatically cause a new recompile. Subsequent runs when making YAML changes will require running ninja reconfigure in order to regenerate the code files from the YAML.

Configuration

Only the xyz/openbmc_project interfaces are built by default. Other interfaces can be enabled by meson options:

  • com/ibm - -Ddata_com_ibm=true
  • org/open_power - -Ddata_org_open_power=true

References