Add support for log-handler
This handler is based off of version handler with major differences in
handler_builder
Tested:
created the blackbox blob successfully using this lib.
Read the data from the blob using a host side tool
Signed-off-by: Gaurav Gandhi <gauravgandhi@google.com>
Change-Id: I9ef775af752156a1647453ff3831ef4c0449d546
diff --git a/bmc/log-handler/meson.build b/bmc/log-handler/meson.build
new file mode 100644
index 0000000..50c4bed
--- /dev/null
+++ b/bmc/log-handler/meson.build
@@ -0,0 +1,35 @@
+log_inc = include_directories('.')
+
+log_pre = declare_dependency(
+ include_directories: [root_inc, log_inc],
+ dependencies : [
+ common_dep,
+ firmware_dep,
+ ])
+
+log_lib = static_library(
+ 'logblob',
+ 'log_handler.cpp',
+ 'log_handlers_builder.cpp',
+ implicit_include_directories: false,
+ dependencies: log_pre)
+
+
+log_dep = declare_dependency(
+ link_with: log_lib,
+ dependencies: common_pre)
+
+shared_module(
+ 'logblob',
+ 'main.cpp',
+ implicit_include_directories: false,
+ dependencies: [
+ log_dep,
+ dependency('libipmid'),
+ ],
+ install: true,
+ install_dir: get_option('libdir') / 'blob-ipmid')
+
+if not get_option('tests').disabled()
+ subdir('test')
+endif
\ No newline at end of file