pldm: Meson option for system specific bios attributes
PLDM users who want to use bios attributes based on the system type
can enable this meson option.
With disabled option default bios json files are picked to build
bios attribute tables.
Added meson option "system-specific-bios-json" to add the support
for system specific bios attributes.
Below is the pre-requisite to support system specific bios
attributes:
1. Entity Manager service is active
2. Entity Manager should have Decorator.Compatible interface
and system type in Names property under this interface
3. BIOS Attribute json files are added into the folder(Named on
the System Type property value) and should be installed
under /usr/share/pldm/bios/
With disabled "system-specific-bios-json" option default bios
attributes are populated.
Tested:
Poweron system-specific-bios-json enabled/disabled
Change-Id: I95a953cdb12c344d22f487b83040356a1b5fa937
Signed-off-by: Archana Kakani <archana.kakani@ibm.com>
diff --git a/meson.options b/meson.options
index 9e2339f..8449821 100644
--- a/meson.options
+++ b/meson.options
@@ -140,6 +140,14 @@
requested by the FD, via RequestFirmwareData command'''
)
+# Bios Attributes option
+option(
+ 'system-specific-bios-json',
+ type : 'feature',
+ value: 'disabled',
+ description : 'Support for different set of bios attributes for different types of systems'
+)
+
# PLDM Soft Power off options
option(
'softoff',