code-update: simplified interface for code update
Current code update invocation flow has no explicit interface but
rather rely on discovery of a new file in tmpfs. This makes it more
involved and hard to use. The intent of this proposal is to define an
explicit interface which is easy to use. For more details, please refer
to design doc -
https://gerrit.openbmc.org/c/openbmc/docs/+/65739
Change-Id: I65f186856c446cf7d957591c213054dc2d5c3861
Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
diff --git a/gen/xyz/openbmc_project/Software/meson.build b/gen/xyz/openbmc_project/Software/meson.build
index 8608c9f..11845c6 100644
--- a/gen/xyz/openbmc_project/Software/meson.build
+++ b/gen/xyz/openbmc_project/Software/meson.build
@@ -149,6 +149,21 @@
],
)
+subdir('Update')
+generated_others += custom_target(
+ 'xyz/openbmc_project/Software/Update__markdown'.underscorify(),
+ input: [ '../../../../yaml/xyz/openbmc_project/Software/Update.interface.yaml', ],
+ output: [ 'Update.md' ],
+ depend_files: sdbusplusplus_depfiles,
+ command: [
+ sdbuspp_gen_meson_prog, '--command', 'markdown',
+ '--output', meson.current_build_dir(),
+ '--tool', sdbusplusplus_prog,
+ '--directory', meson.current_source_dir() / '../../../../yaml',
+ 'xyz/openbmc_project/Software/Update',
+ ],
+)
+
subdir('Version')
generated_others += custom_target(
'xyz/openbmc_project/Software/Version__markdown'.underscorify(),