blob: 2513c56a943e79fd25eaf5a5eef32b32b1c00464 [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')
59
60# Sensor Cache
61option('sensors-cache', type: 'feature', value: 'disabled', description: 'Sensor cache stack is disabled by default; offer a way to enable it')
62
Alexander Hansenc2c26f92023-07-17 09:38:43 +020063# Short Sensor Names for IPMI
64option('shortname-remove-suffix', type: 'feature', value: 'enabled', description: 'shortname-remove-suffix is enabled by default')
65option('shortname-replace-words', type: 'feature', value: 'disabled', description: 'shortname-replace-words is disabled by default')
66
Willy Tuc710b972021-08-11 16:33:43 -070067# SEL Logger
68option('sel-logger-clears-sel', type: 'feature', value: 'disabled', description: 'Clearing SEL through sel-logger is disabled by default; offer a way to enable it')
69
70# Generate configuration from Yaml
71option('sensor-yaml-gen', type: 'string', value: 'sensor-example.yaml')
72option('invsensor-yaml-gen', type: 'string', value: 'inventory-sensor-example.yaml')
73option('fru-yaml-gen', type: 'string', value: 'fru-read-example.yaml')
Willy Tub78184e2022-10-27 22:57:38 +000074
75# Software Version
76option('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 +080077option('fw-ver-regex', type : 'string', value : '(\\\\d+)\\\\.(\\\\d+)', description : 'Regular expressions for parsing firmware revision')
78option('matches-map', type : 'array', value : ['1', '2', '0', '0', '0', '0'], description : 'An array of integers')
Thang Tran292c9172023-06-26 10:03:04 +070079
80# libipmi20.so library
81option('dynamic-storages-only', type: 'feature', value: 'disabled', description: 'Request to compile storage commands in the libipmi20 library')