blob: fff16512ee79df5f2c1c9f41fe81262a1e34f349 [file] [log] [blame]
Willy Tuc710b972021-08-11 16:33:43 -07001
2option('tests', type: 'feature', description: 'Build tests')
3option('boot-flag-safe-mode-support', type: 'feature', description: 'Add option to enable/disable safe mode in boot flags')
4option('i2c-whitelist-check', type: 'feature', description: 'Add option to enable/disable i2c master write read command white list checking')
5
6# SoftPowerOff
7option('softoff', type: 'feature', description: 'Builds soft power off')
8option('softoff-busname', type: 'string', value: 'xyz.openbmc_project.Ipmi.Internal.SoftPowerOff', description: 'The Dbus busname to own for SoftPowerOff')
9option('softoff-objpath', type: 'string', value: '/xyz/openbmc_project/ipmi/internal/soft_power_off', description: 'The SoftPowerOff Dbus root')
10option('ipmi-sms-atn-ack-timeout-secs', type: 'integer', value: 3, description: 'Timeout for host to ack and query SMS_ATN from BMC')
11option('ipmi-host-shutdown-complete-timeout-secs', type: 'integer', value: 2700, description: 'Wait time for host to shutdown')
12# Indicates an in-band power off or reboot request from the host
13# This file is used to ensure the soft off service does not run for host
14# initiated shutdown or reboot requests
15option('host-inband-request-dir', type: 'string', value: '/run/openbmc/', description: 'Directory to store host initiated shutdown file')
16option('host-inband-request-file', type: 'string', value: 'host@%u-request', description: 'File to create if host has initiated shutdown or reboot')
17
18
19# Config Variables
20option('board-sensor', type: 'string', value: '/xyz/openbmc_project/inventory/system/chassis/motherboard', description: 'The inventory path to the motherboard fault sensor')
21option('system-sensor', type: 'string', value: '/xyz/openbmc_project/inventory/system', description: 'The inventory path to the system event sensor')
22
23# Control Host Interfaces
24option('control-host-busname', type: 'string', value: 'xyz.openbmc_project.Control.Host', description: 'The Control Host Dbus busname to own')
25option('control-host-obj-mgr', type: 'string', value: '/xyz/openbmc_project/control', description: 'The Control Host D-Bus Object Manager')
26option('host-name', type: 'string', value: 'host', description: 'The Control Host D-Bus Object Manager')
27
28# Power reading sensor configuration file
29option('power-reading-sensor', type: 'string', value: '/usr/share/ipmi-providers/power_reading.json', description: 'Power reading sensor configuration file')
30option('host-ipmi-lib-path', type: 'string', value: '/usr/lib/ipmid-providers/', description: 'The file path to search for libraries')
31
32# When a sensor read fails, hwmon will update the OperationalState interface's Functional property.
33# This will mark the sensor as not functional and we will skip reading from that sensor.
34option('update-functional-on-fail', type: 'feature', value: 'disabled', description: 'Check functional property to skip reading from faulty sensors')
35
36# Features
37
38# When libuserlayer is disabled, libuserlayer won't be included in the build.
39option('libuserlayer', type: 'feature', description: 'Option to exclue exclude libuserlayer')
40
41# When transport-oem is enabled, the transporthandler_oem.cpp contents
42# are compiled and added to the project. The transporthandler_oem.cpp file is
43# copied from your own customization layer in the
44# phosphor-ipmi-host_%.bbappend file. It is not necessary to create this file
45# unless OEM Parameter extensions are required.
46option('transport-oem', type: 'feature', value: 'disabled', description: 'Enable transporthandler_oem contents')
47
48# IPMI whitelist mechanism is not needed by everyone; offer a way to disable it
49option('ipmi-whitelist', type: 'feature', description: 'Enable/disable IPMI whitelist filtering')
50option('whitelist-conf', type: 'string', value: 'host-ipmid-whitelist.conf', description: 'Paths to IPMI whitelisted commands conf files')
51
Johnathan Mantey23a722c2023-05-12 08:18:54 -070052# Entity Manager Decorators
53option('entity-manager-decorators', type: 'feature', value: 'enabled', description: 'The Entity Manager Decorators flag is enabled by default; offer a way to disable it')
54
Willy Tuc710b972021-08-11 16:33:43 -070055# Dynamic Sensor Stack
56option('dynamic-sensors', type: 'feature', value: 'disabled', description: 'Dynamic sensors stack is enabled by default; offer a way to disable it')
57option('dynamic-sensors-write', type: 'feature', value: 'disabled', description: 'Dynamic sensors stack is enabled by default; offer a way to disable it')
58option('hybrid-sensors', type: 'feature', value: 'disabled', description: 'Hybrid sensors stack is disabled by default; offer a way to enable it')
Johnathan Mantey777cfaf2024-06-13 10:45:47 -070059option('sensors-oem', type: 'feature', value: 'disabled', description: 'OEM sensor SDR parsing is disabled by default; offer a way to enable it')
Willy Tuc710b972021-08-11 16:33:43 -070060
61# Sensor Cache
62option('sensors-cache', type: 'feature', value: 'disabled', description: 'Sensor cache stack is disabled by default; offer a way to enable it')
63
Alexander Hansenc2c26f92023-07-17 09:38:43 +020064# Short Sensor Names for IPMI
65option('shortname-remove-suffix', type: 'feature', value: 'enabled', description: 'shortname-remove-suffix is enabled by default')
66option('shortname-replace-words', type: 'feature', value: 'disabled', description: 'shortname-replace-words is disabled by default')
67
Willy Tuc710b972021-08-11 16:33:43 -070068# Generate configuration from Yaml
69option('sensor-yaml-gen', type: 'string', value: 'sensor-example.yaml')
70option('invsensor-yaml-gen', type: 'string', value: 'inventory-sensor-example.yaml')
71option('fru-yaml-gen', type: 'string', value: 'fru-read-example.yaml')
Willy Tub78184e2022-10-27 22:57:38 +000072
73# Software Version
74option('get-dbus-active-software', type: 'feature', description: 'Use the getActiveSoftwareVersionInfo for the BMC version and dev_id.json as backup')
Potin Laic7c55922023-02-16 10:33:55 +080075option('fw-ver-regex', type : 'string', value : '(\\\\d+)\\\\.(\\\\d+)', description : 'Regular expressions for parsing firmware revision')
76option('matches-map', type : 'array', value : ['1', '2', '0', '0', '0', '0'], description : 'An array of integers')
Thang Tran292c9172023-06-26 10:03:04 +070077
78# libipmi20.so library
Patrick Williams768730d2023-09-06 16:27:20 -050079option('dynamic-storages-only', type: 'feature', value: 'disabled', description: 'Request to compile storage commands in the libipmi20 library')
80
81# open-power specific functionality.
82option('open-power', type: 'feature', description: 'Support open-power specific functions')