Inventory.Item.PCIeSlot: Add PCIeSlot.interface.yaml
PCIE slots are one type of Inventory items and the proposed
interfaces will define the characteristics
Reference: https://redfish.dmtf.org/schemas/v1/PCIeSlots.v1_4_0.yaml
Change-Id: I51dc147298dea0df0fb6cdd4d725937adda5abef
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
diff --git a/gen/xyz/openbmc_project/Inventory/Item/PCIeSlot/meson.build b/gen/xyz/openbmc_project/Inventory/Item/PCIeSlot/meson.build
new file mode 100644
index 0000000..b3e5d94
--- /dev/null
+++ b/gen/xyz/openbmc_project/Inventory/Item/PCIeSlot/meson.build
@@ -0,0 +1,14 @@
+# Generated file; do not modify.
+generated_sources += custom_target(
+ 'xyz/openbmc_project/Inventory/Item/PCIeSlot__cpp'.underscorify(),
+ input: [ meson.source_root() / 'xyz/openbmc_project/Inventory/Item/PCIeSlot.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.source_root(),
+ 'xyz/openbmc_project/Inventory/Item/PCIeSlot',
+ ],
+)
+
diff --git a/gen/xyz/openbmc_project/Inventory/Item/meson.build b/gen/xyz/openbmc_project/Inventory/Item/meson.build
index 145bba2..6716774 100644
--- a/gen/xyz/openbmc_project/Inventory/Item/meson.build
+++ b/gen/xyz/openbmc_project/Inventory/Item/meson.build
@@ -252,6 +252,21 @@
build_by_default: true,
)
+subdir('PCIeSlot')
+generated_others += custom_target(
+ 'xyz/openbmc_project/Inventory/Item/PCIeSlot__markdown'.underscorify(),
+ input: [ meson.source_root() / 'xyz/openbmc_project/Inventory/Item/PCIeSlot.interface.yaml', ],
+ output: [ 'PCIeSlot.md' ],
+ command: [
+ sdbuspp_gen_meson_prog, '--command', 'markdown',
+ '--output', meson.current_build_dir(),
+ '--tool', sdbusplusplus_prog,
+ '--directory', meson.source_root(),
+ 'xyz/openbmc_project/Inventory/Item/PCIeSlot',
+ ],
+ build_by_default: true,
+)
+
subdir('PersistentMemory')
generated_others += custom_target(
'xyz/openbmc_project/Inventory/Item/PersistentMemory__markdown'.underscorify(),