Set BIOS version
Get parsed BIOS version from oem ipmi command, and set to bios_active
D-Bus object.
Tested: Verify the BIOS version is set after host is powered on.
Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: I864aeb92c63c7cc6ca5f158d309bab51b9d2c145
diff --git a/meson.build b/meson.build
index 3edce7d..9da20c2 100644
--- a/meson.build
+++ b/meson.build
@@ -18,4 +18,10 @@
phosphor_logging = dependency('phosphor-logging')
libipmid = dependency('libipmid')
+# Common configurations for src and test
+cdata = configuration_data()
+cdata.set_quoted('VERSION_IFACE', 'xyz.openbmc_project.Software.Version')
+cdata.set_quoted('VERSION', 'Version')
+cdata.set_quoted('BIOS_OBJPATH', get_option('BIOS_OBJPATH'))
+
subdir('src')