77 lines
3.0 KiB
Diff
77 lines
3.0 KiB
Diff
|
|
From 32127e9d8729268432dabbcafdcbb31af6d7c6ba Mon Sep 17 00:00:00 2001
|
||
|
|
From: roly <Rolyli.Li@luxshare-ict.com>
|
||
|
|
Date: Thu, 14 Nov 2024 19:14:11 +0800
|
||
|
|
Subject: [PATCH] Add ReleaseDate property for Software interface
|
||
|
|
|
||
|
|
---
|
||
|
|
.../Software/ReleaseDate/meson.build | 15 +++++++++++++++
|
||
|
|
gen/xyz/openbmc_project/Software/meson.build | 15 +++++++++++++++
|
||
|
|
.../Software/ReleaseDate.interface.yaml | 7 +++++++
|
||
|
|
3 files changed, 37 insertions(+)
|
||
|
|
create mode 100644 gen/xyz/openbmc_project/Software/ReleaseDate/meson.build
|
||
|
|
create mode 100644 yaml/xyz/openbmc_project/Software/ReleaseDate.interface.yaml
|
||
|
|
|
||
|
|
diff --git a/gen/xyz/openbmc_project/Software/ReleaseDate/meson.build b/gen/xyz/openbmc_project/Software/ReleaseDate/meson.build
|
||
|
|
new file mode 100644
|
||
|
|
index 0000000..44f9568
|
||
|
|
--- /dev/null
|
||
|
|
+++ b/gen/xyz/openbmc_project/Software/ReleaseDate/meson.build
|
||
|
|
@@ -0,0 +1,15 @@
|
||
|
|
+# Generated file; do not modify.
|
||
|
|
+generated_sources += custom_target(
|
||
|
|
+ 'xyz/openbmc_project/Software/ReleaseDate__cpp'.underscorify(),
|
||
|
|
+ input: [ '../../../../../yaml/xyz/openbmc_project/Software/ReleaseDate.interface.yaml', ],
|
||
|
|
+ output: [ 'common.hpp', 'server.cpp', 'server.hpp', 'client.hpp', ],
|
||
|
|
+ depend_files: sdbusplusplus_depfiles,
|
||
|
|
+ command: [
|
||
|
|
+ sdbuspp_gen_meson_prog, '--command', 'cpp',
|
||
|
|
+ '--output', meson.current_build_dir(),
|
||
|
|
+ '--tool', sdbusplusplus_prog,
|
||
|
|
+ '--directory', meson.current_source_dir() / '../../../../../yaml',
|
||
|
|
+ 'xyz/openbmc_project/Software/ReleaseDate',
|
||
|
|
+ ],
|
||
|
|
+)
|
||
|
|
+
|
||
|
|
diff --git a/gen/xyz/openbmc_project/Software/meson.build b/gen/xyz/openbmc_project/Software/meson.build
|
||
|
|
index ace2bcb..84424b4 100644
|
||
|
|
--- a/gen/xyz/openbmc_project/Software/meson.build
|
||
|
|
+++ b/gen/xyz/openbmc_project/Software/meson.build
|
||
|
|
@@ -89,6 +89,21 @@ generated_others += custom_target(
|
||
|
|
],
|
||
|
|
)
|
||
|
|
|
||
|
|
+subdir('ReleaseDate')
|
||
|
|
+generated_others += custom_target(
|
||
|
|
+ 'xyz/openbmc_project/Software/ReleaseDate__markdown'.underscorify(),
|
||
|
|
+ input: [ '../../../../yaml/xyz/openbmc_project/Software/ReleaseDate.interface.yaml', ],
|
||
|
|
+ output: [ 'ReleaseDate.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/ReleaseDate',
|
||
|
|
+ ],
|
||
|
|
+)
|
||
|
|
+
|
||
|
|
subdir('RedundancyPriority')
|
||
|
|
generated_others += custom_target(
|
||
|
|
'xyz/openbmc_project/Software/RedundancyPriority__markdown'.underscorify(),
|
||
|
|
diff --git a/yaml/xyz/openbmc_project/Software/ReleaseDate.interface.yaml b/yaml/xyz/openbmc_project/Software/ReleaseDate.interface.yaml
|
||
|
|
new file mode 100644
|
||
|
|
index 0000000..e0dded4
|
||
|
|
--- /dev/null
|
||
|
|
+++ b/yaml/xyz/openbmc_project/Software/ReleaseDate.interface.yaml
|
||
|
|
@@ -0,0 +1,7 @@
|
||
|
|
+description: >
|
||
|
|
+ An ReleaseDate string for a xyz.openbmc_project.Software.Version.
|
||
|
|
+properties:
|
||
|
|
+ - name: ReleaseDate
|
||
|
|
+ type: string
|
||
|
|
+ description: >
|
||
|
|
+ Firmware Release Date.
|
||
|
|
--
|
||
|
|
2.25.1
|
||
|
|
|