Add Generic button dbus interface
The button interface is a generic dbus interface which can be used
in the front panel phosphor-buttons dbus objects that has button type
physical form factor(Pressed/Released).
This dbus interface will be initially used by ocp debug card host selector
button interface as it has a button form factor type.
Design : https://github.com/openbmc/docs/blob/master/designs/multihost-phosphor-buttons.md
Signed-off-by: Naveen Moses <naveen.mosess@hcl.com>
Change-Id: I10e940c93ce549489fd23ff76a3be9e09ae1ae9c
diff --git a/gen/xyz/openbmc_project/Chassis/Buttons/meson.build b/gen/xyz/openbmc_project/Chassis/Buttons/meson.build
index 994214a..0de2bfb 100644
--- a/gen/xyz/openbmc_project/Chassis/Buttons/meson.build
+++ b/gen/xyz/openbmc_project/Chassis/Buttons/meson.build
@@ -1,4 +1,18 @@
# Generated file; do not modify.
+subdir('Button')
+generated_others += custom_target(
+ 'xyz/openbmc_project/Chassis/Buttons/Button__markdown'.underscorify(),
+ input: [ '../../../../../yaml/xyz/openbmc_project/Chassis/Buttons/Button.interface.yaml', ],
+ output: [ 'Button.md' ],
+ command: [
+ sdbuspp_gen_meson_prog, '--command', 'markdown',
+ '--output', meson.current_build_dir(),
+ '--tool', sdbusplusplus_prog,
+ '--directory', meson.current_source_dir() / '../../../../../yaml',
+ 'xyz/openbmc_project/Chassis/Buttons/Button',
+ ],
+)
+
subdir('HostSelector')
generated_others += custom_target(
'xyz/openbmc_project/Chassis/Buttons/HostSelector__markdown'.underscorify(),