Drive: rename Interface to interface
Drive.Interface.yaml is not being processed and no server.hpp
is created. Renamed to Drive.interface.yaml instead.
Fixes openbmc/phosphor-dbus-interfaces#11.
Change-Id: I42aca4bd4a290b5ff05c1926ac6d81f03f8f3b76
Signed-off-by: Willy Tu <wltu@google.com>
diff --git a/gen/xyz/openbmc_project/Inventory/Item/Drive/meson.build b/gen/xyz/openbmc_project/Inventory/Item/Drive/meson.build
new file mode 100644
index 0000000..402efda
--- /dev/null
+++ b/gen/xyz/openbmc_project/Inventory/Item/Drive/meson.build
@@ -0,0 +1,14 @@
+# Generated file; do not modify.
+generated_sources += custom_target(
+ 'xyz/openbmc_project/Inventory/Item/Drive__cpp'.underscorify(),
+ input: [ '../../../../../../xyz/openbmc_project/Inventory/Item/Drive.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() / '../../../../../..',
+ 'xyz/openbmc_project/Inventory/Item/Drive',
+ ],
+)
+
diff --git a/gen/xyz/openbmc_project/Inventory/Item/meson.build b/gen/xyz/openbmc_project/Inventory/Item/meson.build
index 82fd91e..652b4a3 100644
--- a/gen/xyz/openbmc_project/Inventory/Item/meson.build
+++ b/gen/xyz/openbmc_project/Inventory/Item/meson.build
@@ -152,6 +152,20 @@
],
)
+subdir('Drive')
+generated_others += custom_target(
+ 'xyz/openbmc_project/Inventory/Item/Drive__markdown'.underscorify(),
+ input: [ '../../../../../xyz/openbmc_project/Inventory/Item/Drive.interface.yaml', ],
+ output: [ 'Drive.md' ],
+ command: [
+ sdbuspp_gen_meson_prog, '--command', 'markdown',
+ '--output', meson.current_build_dir(),
+ '--tool', sdbusplusplus_prog,
+ '--directory', meson.current_source_dir() / '../../../../..',
+ 'xyz/openbmc_project/Inventory/Item/Drive',
+ ],
+)
+
subdir('Ethernet')
generated_others += custom_target(
'xyz/openbmc_project/Inventory/Item/Ethernet__markdown'.underscorify(),
diff --git a/xyz/openbmc_project/Inventory/Item/Drive.Interface.yaml b/xyz/openbmc_project/Inventory/Item/Drive.interface.yaml
similarity index 100%
rename from xyz/openbmc_project/Inventory/Item/Drive.Interface.yaml
rename to xyz/openbmc_project/Inventory/Item/Drive.interface.yaml