com.meta: add compatible device strings for santabarbara BIOS and CPLD
Add Santabarbara compatible strings for CPLD and BIOS to enable
firmware update and version check.
Change-Id: I8d9963cec60c3457729aa081983e2d7019d852d4
Signed-off-by: Fred Chen <Fred.Chen@quantatw.com>
diff --git a/gen/com/meta/Hardware/Santabarbara/meson.build b/gen/com/meta/Hardware/Santabarbara/meson.build
new file mode 100644
index 0000000..3d8a595
--- /dev/null
+++ b/gen/com/meta/Hardware/Santabarbara/meson.build
@@ -0,0 +1,38 @@
+# Generated file; do not modify.
+
+sdbusplus_current_path = 'com/meta/Hardware/Santabarbara'
+
+generated_sources += custom_target(
+ 'com/meta/Hardware/Santabarbara__cpp'.underscorify(),
+ input: ['../../../../../yaml/com/meta/Hardware/Santabarbara.interface.yaml'],
+ output: [
+ 'common.hpp',
+ 'server.hpp',
+ 'server.cpp',
+ 'aserver.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/Santabarbara',
+ ],
+ install: should_generate_cpp,
+ install_dir: [
+ get_option('includedir') / sdbusplus_current_path,
+ get_option('includedir') / sdbusplus_current_path,
+ false,
+ get_option('includedir') / sdbusplus_current_path,
+ get_option('includedir') / sdbusplus_current_path,
+ ],
+ build_by_default: should_generate_cpp,
+)
+