MCTP: Define interface for MCTP endpoint enumeration
This interface will be implemented by an MCTP control message protocol
process[1] that discovers MCTP communication terminuses that are
discoverable by BMC. D-Bus discovery of this interface triggers higher
level protocols like PLDM to complete the PLDM discovery for the MCTP
devices.
[1] https://github.com/openbmc/docs/blob/master/designs/mctp/mctp-kernel.md
Signed-off-by: Tom Joseph <rushtotom@gmail.com>
Change-Id: I240bd3e7d300dfbc0a74ed71eb5a466e1d4a1db4
diff --git a/gen/xyz/openbmc_project/MCTP/Endpoint/meson.build b/gen/xyz/openbmc_project/MCTP/Endpoint/meson.build
new file mode 100644
index 0000000..88bfe98
--- /dev/null
+++ b/gen/xyz/openbmc_project/MCTP/Endpoint/meson.build
@@ -0,0 +1,14 @@
+# Generated file; do not modify.
+generated_sources += custom_target(
+ 'xyz/openbmc_project/MCTP/Endpoint__cpp'.underscorify(),
+ input: [ '../../../../../yaml/xyz/openbmc_project/MCTP/Endpoint.interface.yaml', ],
+ output: [ 'server.cpp', 'server.hpp', 'client.hpp', ],
+ command: [
+ sdbuspp_gen_meson_prog, '--command', 'cpp',
+ '--output', meson.current_build_dir(),
+ '--tool', sdbusplusplus_prog,
+ '--directory', meson.current_source_dir() / '../../../../../yaml',
+ 'xyz/openbmc_project/MCTP/Endpoint',
+ ],
+)
+
diff --git a/gen/xyz/openbmc_project/MCTP/meson.build b/gen/xyz/openbmc_project/MCTP/meson.build
new file mode 100644
index 0000000..b9598ad
--- /dev/null
+++ b/gen/xyz/openbmc_project/MCTP/meson.build
@@ -0,0 +1,15 @@
+# Generated file; do not modify.
+subdir('Endpoint')
+generated_others += custom_target(
+ 'xyz/openbmc_project/MCTP/Endpoint__markdown'.underscorify(),
+ input: [ '../../../../yaml/xyz/openbmc_project/MCTP/Endpoint.interface.yaml', ],
+ output: [ 'Endpoint.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/MCTP/Endpoint',
+ ],
+)
+
diff --git a/gen/xyz/openbmc_project/meson.build b/gen/xyz/openbmc_project/meson.build
index 6737c83..19d6746 100644
--- a/gen/xyz/openbmc_project/meson.build
+++ b/gen/xyz/openbmc_project/meson.build
@@ -66,6 +66,7 @@
subdir('Ipmi')
subdir('Led')
subdir('Logging')
+subdir('MCTP')
subdir('Memory')
subdir('Network')
subdir('Nvme')