Control.Power.Mode: Add System Power Mode Interface YAML
Define the system power mode interface. This will allow users
to set the power mode for a system. The power mode defines
how the processor frequency will be set based on power and
performance. This is part of the Redfish 2021.1 Schema.
Signed-off-by: Chris Cain <cjcain@us.ibm.com>
Change-Id: Ifd1145b1e0a31c9c71e2377de1cb01fcba5a4188
diff --git a/gen/xyz/openbmc_project/Control/Power/Mode/meson.build b/gen/xyz/openbmc_project/Control/Power/Mode/meson.build
new file mode 100644
index 0000000..6c8b615
--- /dev/null
+++ b/gen/xyz/openbmc_project/Control/Power/Mode/meson.build
@@ -0,0 +1,14 @@
+# Generated file; do not modify.
+generated_sources += custom_target(
+ 'xyz/openbmc_project/Control/Power/Mode__cpp'.underscorify(),
+ input: [ meson.project_source_root() / 'xyz/openbmc_project/Control/Power/Mode.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.project_source_root(),
+ 'xyz/openbmc_project/Control/Power/Mode',
+ ],
+)
+