Add d-bus interface for BIOS boot type (EFI/Legacy)
The interface is addded to support IPMI boot type field of a
"Get System Boot Options" сommand.
[1] - BIOS boot type (for BIOS that support both legacy and EFI boots)
0b = "PC compatible" boot (legacy)
1b = Extensible Firmware Interface Boot (EFI)
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Change-Id: Ia31918ee941f4dbed5f27c4f5cbfb62c2b259d6e
diff --git a/gen/xyz/openbmc_project/Control/Boot/Type/meson.build b/gen/xyz/openbmc_project/Control/Boot/Type/meson.build
new file mode 100644
index 0000000..d1c68b5
--- /dev/null
+++ b/gen/xyz/openbmc_project/Control/Boot/Type/meson.build
@@ -0,0 +1,14 @@
+# Generated file; do not modify.
+generated_sources += custom_target(
+ 'xyz/openbmc_project/Control/Boot/Type__cpp'.underscorify(),
+ input: [ meson.source_root() / 'xyz/openbmc_project/Control/Boot/Type.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/Control/Boot/Type',
+ ],
+)
+
diff --git a/gen/xyz/openbmc_project/Control/Boot/meson.build b/gen/xyz/openbmc_project/Control/Boot/meson.build
index ba8a19f..2248771 100644
--- a/gen/xyz/openbmc_project/Control/Boot/meson.build
+++ b/gen/xyz/openbmc_project/Control/Boot/meson.build
@@ -59,3 +59,18 @@
build_by_default: true,
)
+subdir('Type')
+generated_others += custom_target(
+ 'xyz/openbmc_project/Control/Boot/Type__markdown'.underscorify(),
+ input: [ meson.source_root() / 'xyz/openbmc_project/Control/Boot/Type.interface.yaml', ],
+ output: [ 'Type.md' ],
+ command: [
+ sdbuspp_gen_meson_prog, '--command', 'markdown',
+ '--output', meson.current_build_dir(),
+ '--tool', sdbusplusplus_prog,
+ '--directory', meson.source_root(),
+ 'xyz/openbmc_project/Control/Boot/Type',
+ ],
+ build_by_default: true,
+)
+