| Willy Tu | c710b97 | 2021-08-11 16:33:43 -0700 | [diff] [blame] | 1 |  | 
|  | 2 | option('tests', type: 'feature', description: 'Build tests') | 
|  | 3 | option('boot-flag-safe-mode-support', type: 'feature', description: 'Add option to enable/disable safe mode in boot flags') | 
|  | 4 | option('i2c-whitelist-check', type: 'feature', description: 'Add option to enable/disable i2c master write read command white list checking') | 
|  | 5 |  | 
|  | 6 | # SoftPowerOff | 
|  | 7 | option('softoff', type: 'feature', description: 'Builds soft power off') | 
|  | 8 | option('softoff-busname', type: 'string', value: 'xyz.openbmc_project.Ipmi.Internal.SoftPowerOff', description: 'The Dbus busname to own for SoftPowerOff') | 
|  | 9 | option('softoff-objpath', type: 'string', value: '/xyz/openbmc_project/ipmi/internal/soft_power_off', description: 'The SoftPowerOff Dbus root') | 
|  | 10 | option('ipmi-sms-atn-ack-timeout-secs', type: 'integer', value: 3, description: 'Timeout for host to ack and query SMS_ATN from BMC') | 
|  | 11 | option('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 | 
|  | 15 | option('host-inband-request-dir', type: 'string', value: '/run/openbmc/', description: 'Directory to store host initiated shutdown file') | 
|  | 16 | option('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 | 
|  | 20 | option('board-sensor', type: 'string', value: '/xyz/openbmc_project/inventory/system/chassis/motherboard', description: 'The inventory path to the motherboard fault sensor') | 
|  | 21 | option('system-sensor', type: 'string', value: '/xyz/openbmc_project/inventory/system', description: 'The inventory path to the system event sensor') | 
|  | 22 |  | 
|  | 23 | # Control Host Interfaces | 
|  | 24 | option('control-host-busname', type: 'string', value: 'xyz.openbmc_project.Control.Host', description: 'The Control Host Dbus busname to own') | 
|  | 25 | option('control-host-obj-mgr', type: 'string', value: '/xyz/openbmc_project/control', description: 'The Control Host D-Bus Object Manager') | 
|  | 26 | option('host-name', type: 'string', value: 'host', description: 'The Control Host D-Bus Object Manager') | 
|  | 27 |  | 
|  | 28 | # Power reading sensor configuration file | 
|  | 29 | option('power-reading-sensor', type: 'string', value: '/usr/share/ipmi-providers/power_reading.json', description: 'Power reading sensor configuration file') | 
|  | 30 | option('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. | 
|  | 34 | option('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. | 
|  | 39 | option('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. | 
|  | 46 | option('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 | 
|  | 49 | option('ipmi-whitelist', type: 'feature', description: 'Enable/disable IPMI whitelist filtering') | 
|  | 50 | option('whitelist-conf', type: 'string', value: 'host-ipmid-whitelist.conf', description: 'Paths to IPMI whitelisted commands conf files') | 
|  | 51 |  | 
| Johnathan Mantey | 23a722c | 2023-05-12 08:18:54 -0700 | [diff] [blame] | 52 | # Entity Manager Decorators | 
|  | 53 | option('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 Tu | c710b97 | 2021-08-11 16:33:43 -0700 | [diff] [blame] | 55 | # Dynamic Sensor Stack | 
|  | 56 | option('dynamic-sensors', type: 'feature', value: 'disabled', description: 'Dynamic sensors stack is enabled by default; offer a way to disable it') | 
|  | 57 | option('dynamic-sensors-write', type: 'feature', value: 'disabled', description: 'Dynamic sensors stack is enabled by default; offer a way to disable it') | 
|  | 58 | option('hybrid-sensors', type: 'feature', value: 'disabled', description: 'Hybrid sensors stack is disabled by default; offer a way to enable it') | 
| Johnathan Mantey | 777cfaf | 2024-06-13 10:45:47 -0700 | [diff] [blame] | 59 | option('sensors-oem', type: 'feature', value: 'disabled', description: 'OEM sensor SDR parsing is disabled by default; offer a way to enable it') | 
| Willy Tu | c710b97 | 2021-08-11 16:33:43 -0700 | [diff] [blame] | 60 |  | 
|  | 61 | # Sensor Cache | 
|  | 62 | option('sensors-cache', type: 'feature', value: 'disabled', description: 'Sensor cache stack is disabled by default; offer a way to enable it') | 
|  | 63 |  | 
| Alexander Hansen | c2c26f9 | 2023-07-17 09:38:43 +0200 | [diff] [blame] | 64 | # Short Sensor Names for IPMI | 
|  | 65 | option('shortname-remove-suffix', type: 'feature', value: 'enabled', description: 'shortname-remove-suffix is enabled by default') | 
|  | 66 | option('shortname-replace-words', type: 'feature', value: 'disabled', description: 'shortname-replace-words is disabled by default') | 
|  | 67 |  | 
| Willy Tu | c710b97 | 2021-08-11 16:33:43 -0700 | [diff] [blame] | 68 | # Generate configuration from Yaml | 
|  | 69 | option('sensor-yaml-gen', type: 'string', value: 'sensor-example.yaml') | 
|  | 70 | option('invsensor-yaml-gen', type: 'string', value: 'inventory-sensor-example.yaml') | 
|  | 71 | option('fru-yaml-gen', type: 'string', value: 'fru-read-example.yaml') | 
| Willy Tu | b78184e | 2022-10-27 22:57:38 +0000 | [diff] [blame] | 72 |  | 
|  | 73 | # Software Version | 
|  | 74 | option('get-dbus-active-software', type: 'feature', description: 'Use the  getActiveSoftwareVersionInfo for the BMC version and dev_id.json as backup') | 
| Potin Lai | c7c5592 | 2023-02-16 10:33:55 +0800 | [diff] [blame] | 75 | option('fw-ver-regex', type : 'string', value : '(\\\\d+)\\\\.(\\\\d+)', description : 'Regular expressions for parsing firmware revision') | 
|  | 76 | option('matches-map', type : 'array', value : ['1', '2', '0', '0', '0', '0'], description : 'An array of integers') | 
| Thang Tran | 292c917 | 2023-06-26 10:03:04 +0700 | [diff] [blame] | 77 |  | 
|  | 78 | # libipmi20.so library | 
| Patrick Williams | 768730d | 2023-09-06 16:27:20 -0500 | [diff] [blame] | 79 | option('dynamic-storages-only', type: 'feature', value: 'disabled', description: 'Request to compile storage commands in the libipmi20 library') | 
|  | 80 |  | 
|  | 81 | # open-power specific functionality. | 
|  | 82 | option('open-power', type: 'feature', description: 'Support open-power specific functions') |