meta: add compatible strings for BMCs
Add 'com.meta' hierarchy for Meta (Facebook) and define compatible
strings for the currently supported BMC types. This will be used
to provide hardware compatibility on BMC update images.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ie8b914784eed88f4f9a8df8e42dfce489d473cfb
diff --git a/gen/com/meson.build b/gen/com/meson.build
index 9a2e068..3727d07 100644
--- a/gen/com/meson.build
+++ b/gen/com/meson.build
@@ -2,3 +2,4 @@
subdir('google')
subdir('ibm')
subdir('intel')
+subdir('meta')
diff --git a/gen/com/meta/Hardware/BMC/meson.build b/gen/com/meta/Hardware/BMC/meson.build
new file mode 100644
index 0000000..b11b263
--- /dev/null
+++ b/gen/com/meta/Hardware/BMC/meson.build
@@ -0,0 +1,15 @@
+# Generated file; do not modify.
+generated_sources += custom_target(
+ 'com/meta/Hardware/BMC__cpp'.underscorify(),
+ input: [ '../../../../../yaml/com/meta/Hardware/BMC.interface.yaml', ],
+ output: [ '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',
+ 'com/meta/Hardware/BMC',
+ ],
+)
+
diff --git a/gen/com/meta/Hardware/meson.build b/gen/com/meta/Hardware/meson.build
new file mode 100644
index 0000000..2f7d6ac
--- /dev/null
+++ b/gen/com/meta/Hardware/meson.build
@@ -0,0 +1,16 @@
+# Generated file; do not modify.
+subdir('BMC')
+generated_others += custom_target(
+ 'com/meta/Hardware/BMC__markdown'.underscorify(),
+ input: [ '../../../../yaml/com/meta/Hardware/BMC.interface.yaml', ],
+ output: [ 'BMC.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',
+ 'com/meta/Hardware/BMC',
+ ],
+)
+
diff --git a/gen/com/meta/meson.build b/gen/com/meta/meson.build
new file mode 100644
index 0000000..dc845a4
--- /dev/null
+++ b/gen/com/meta/meson.build
@@ -0,0 +1,2 @@
+# Generated file; do not modify.
+subdir('Hardware')