Add SEL error yaml

The SEL error yaml is intented to be used to create logging entries with
specific metadata that will be consumed to present the IPMI SEL entries.

Tested: Verify the error could be created as entry with expected
        metadata in logging.

Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: Ia78b621e1b56563dd41114a779d531f5867076f8
diff --git a/gen/xyz/openbmc_project/Logging/meson.build b/gen/xyz/openbmc_project/Logging/meson.build
index bea0fa0..eb55167 100644
--- a/gen/xyz/openbmc_project/Logging/meson.build
+++ b/gen/xyz/openbmc_project/Logging/meson.build
@@ -74,6 +74,21 @@
     build_by_default: true,
 )
 
+subdir('SEL')
+generated_others += custom_target(
+    'xyz/openbmc_project/Logging/SEL__markdown'.underscorify(),
+    input: [ meson.source_root() / 'xyz/openbmc_project/Logging/SEL.errors.yaml',  ],
+    output: [ 'SEL.md' ],
+    command: [
+        sdbuspp_gen_meson_prog, '--command', 'markdown',
+        '--output', meson.current_build_dir(),
+        '--tool', sdbusplusplus_prog,
+        '--directory', meson.source_root(),
+        'xyz/openbmc_project/Logging/SEL',
+    ],
+    build_by_default: true,
+)
+
 subdir('Settings')
 generated_others += custom_target(
     'xyz/openbmc_project/Logging/Settings__markdown'.underscorify(),