blob: 24ba60b8784d9044f6a1d04f25c2947ba6fde947 [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
52# Dynamic Sensor Stack
53option('dynamic-sensors', type: 'feature', value: 'disabled', description: 'Dynamic sensors stack is enabled by default; offer a way to disable it')
54option('dynamic-sensors-write', type: 'feature', value: 'disabled', description: 'Dynamic sensors stack is enabled by default; offer a way to disable it')
55option('hybrid-sensors', type: 'feature', value: 'disabled', description: 'Hybrid sensors stack is disabled by default; offer a way to enable it')
56
57# Sensor Cache
58option('sensors-cache', type: 'feature', value: 'disabled', description: 'Sensor cache stack is disabled by default; offer a way to enable it')
59
60# SEL Logger
61option('sel-logger-clears-sel', type: 'feature', value: 'disabled', description: 'Clearing SEL through sel-logger is disabled by default; offer a way to enable it')
62
63# Generate configuration from Yaml
64option('sensor-yaml-gen', type: 'string', value: 'sensor-example.yaml')
65option('invsensor-yaml-gen', type: 'string', value: 'inventory-sensor-example.yaml')
66option('fru-yaml-gen', type: 'string', value: 'fru-read-example.yaml')
Willy Tub78184e2022-10-27 22:57:38 +000067
68# Software Version
69option('get-dbus-active-software', type: 'feature', description: 'Use the getActiveSoftwareVersionInfo for the BMC version and dev_id.json as backup')