cpuinfoapp: Make PECI features optional
Add a feature flag `cpuinfo-peci` to optionally disable the features in
cpuinfoapp that rely on PECI (PPIN, SST), to support configurations that
want I2C-based SSPEC detection but don't want to use libpeci.
Tested: Disabled `cpuinfo-peci` and verified SSPEC was still written
into the Model property.
Change-Id: Ie3ab9214d9d6ab238a61933de3e3856eca298fa8
Signed-off-by: Jonathan Doman <jonathan.doman@intel.com>
diff --git a/meson.options b/meson.options
index 1a4cdf8..1c33165 100644
--- a/meson.options
+++ b/meson.options
@@ -34,6 +34,13 @@
)
option(
+ 'cpuinfo-peci',
+ type: 'feature',
+ value: 'enabled',
+ description: 'Enable CPUInfo features that depend on PECI'
+)
+
+option(
'smbios-ipmi-blob',
type: 'feature',
value: 'enabled',