meson: Specify OEM extensions in an array
Prevent a proliferation of options by exploiting choice-constrained
arrays.
Change-Id: I5bb5c9bfd41d2854fafee189734abcf58b058d82
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
diff --git a/meson.options b/meson.options
index 9bec992..dcd63d0 100644
--- a/meson.options
+++ b/meson.options
@@ -1,5 +1,4 @@
option('abi', type: 'array', description: 'Constrain exposed symbol classes', choices: ['deprecated', 'stable', 'testing'], value: ['deprecated', 'stable', 'testing'])
option('abi-compliance-check', type: 'feature', description: 'Detect public ABI/API changes')
-option('oem-ibm', type: 'feature', description: 'Enable IBM OEM PLDM')
-option('oem-meta', type: 'feature', description: 'Enable Meta OEM PLDM')
+option('oem', type: 'array', description: 'Enable OEM PLDM extensions', choices: ['ibm', 'meta'], value: ['ibm', 'meta'])
option('tests', type: 'feature', description: 'Build tests')