Mike Capps | a081956 | 2022-06-13 10:17:10 -0400 | [diff] [blame^] | 1 | |
| 2 | option( |
| 3 | 'tests', type: 'feature', value: 'enabled', description: 'Build tests.', |
| 4 | ) |
| 5 | |
| 6 | option( |
| 7 | 'json-config', type: 'feature', value: 'enabled', |
| 8 | description: 'Use json at runtime to configure fan packages.' |
| 9 | ) |
| 10 | |
| 11 | option( |
| 12 | 'machine-name', type: 'string', value: '', |
| 13 | description: 'Machine name being built. Used to install the proper JSON config files.' |
| 14 | ) |
| 15 | |
| 16 | # Control |
| 17 | |
| 18 | option( |
| 19 | 'control-service', type: 'feature', value: 'enabled', |
| 20 | description: 'Build fan control service.' |
| 21 | ) |
| 22 | |
| 23 | option( |
| 24 | 'json-control', type: 'feature', value: 'enabled', |
| 25 | description: 'Disable JSON based fan control even if json-config is enabled.' |
| 26 | ) |
| 27 | |
| 28 | option( |
| 29 | 'control-busname', type: 'string', value: 'xyz.openbmc_project.Control.Thermal', |
| 30 | description: 'Application\'s D-Bus busname to own.' |
| 31 | ) |
| 32 | |
| 33 | option( |
| 34 | 'control-objpath', type: 'string', value: '/xyz/openbmc_project/control/thermal', |
| 35 | description: 'Application\'s root D-Bus object path.' |
| 36 | ) |
| 37 | |
| 38 | option( |
| 39 | 'control-persist-root-path', type: 'string', value: '/var/lib/phosphor-fan-presence/control', |
| 40 | description: 'Base location to persist zone property states' |
| 41 | ) |
| 42 | |
| 43 | option( |
| 44 | 'fan-def-yaml-file', type: 'string', value: 'example/fans.yaml', |
| 45 | description: 'Build time fan configuration file' |
| 46 | ) |
| 47 | option( |
| 48 | 'fan-zone-yaml-file', type: 'string', value: 'example/zones.yaml', |
| 49 | description: 'Build time fan configuration file' |
| 50 | ) |
| 51 | option( |
| 52 | 'zone-events-yaml-file', type: 'string', value: 'example/events.yaml', |
| 53 | description: 'Build time fan configuration file' |
| 54 | ) |
| 55 | option( |
| 56 | 'zone-conditions-yaml-file', type: 'string', value: 'example/zone_conditions.yaml', |
| 57 | description: 'Build time fan configuration file' |
| 58 | ) |
| 59 | |
| 60 | # Monitor |
| 61 | |
| 62 | option( |
| 63 | 'monitor-service', type: 'feature', value: 'enabled', |
| 64 | description: 'Build fan monitor service' |
| 65 | ) |
| 66 | |
| 67 | option( |
| 68 | 'fan-monitor-yaml-file', type: 'string', value: 'example/monitor.yaml', |
| 69 | description: 'Location of the config file' |
| 70 | ) |
| 71 | |
| 72 | option( |
| 73 | 'num-monitor-log-entries', type: 'integer', value: 75, |
| 74 | description: 'Maximum number of entries in the monitor log.' |
| 75 | ) |
| 76 | |
| 77 | option( |
| 78 | 'thermal-alert-busname', type: 'string', value: 'xyz.openbmc_project.Thermal.Alert', |
| 79 | description: 'Application\'s D-Bus busname to own.' |
| 80 | ) |
| 81 | |
| 82 | option( |
| 83 | 'thermal-alert-objpath', type: 'string', value: '/xyz/openbmc_project/alerts/thermal_fault_alert', |
| 84 | description: 'Application\'s root D-Bus object path.' |
| 85 | ) |
| 86 | |
| 87 | # Presence |
| 88 | |
| 89 | option( |
| 90 | 'presence-service', type: 'feature', value: 'enabled', |
| 91 | description: 'Build fan presence service.' |
| 92 | ) |
| 93 | |
| 94 | option( |
| 95 | 'presence-config', type: 'string', value: 'example/example.yaml', |
| 96 | description: 'Location of the config file' |
| 97 | ) |
| 98 | |
| 99 | option( |
| 100 | 'num-presence-log-entries', type: 'integer', value: 50, |
| 101 | description: 'Maximum number of entries in the presence log.' |
| 102 | ) |
| 103 | |
| 104 | # Sensor Monitor |
| 105 | |
| 106 | option( |
| 107 | 'sensor-monitor-service', type: 'feature', value: 'enabled', |
| 108 | description: 'Build sensor monitor.' |
| 109 | ) |
| 110 | |
| 111 | option( |
| 112 | 'sensor-monitor-root-path', type: 'string', value: '/xyz/openbmc_project/alerts/thermal_fault_alert', |
| 113 | description: 'Application\'s root D-Bus object path.' |
| 114 | ) |
| 115 | |
| 116 | option( |
| 117 | 'sensor-monitor-hard-shutdown-delay', type: 'integer', value: 23000, |
| 118 | description: 'Milliseconds to delay the alarm before hard shutdown.' |
| 119 | ) |
| 120 | |
| 121 | option( |
| 122 | 'sensor-monitor-soft-shutdown-delay', type: 'integer', value: 900000, |
| 123 | description: 'Milliseconds to delay the alarm before soft shutdown.' |
| 124 | ) |
| 125 | |
| 126 | # Other |
| 127 | |
| 128 | option( |
| 129 | 'cooling-type-service', type: 'feature', value: 'disabled', |
| 130 | description: 'Build cooling-type package.' |
| 131 | ) |
| 132 | |
| 133 | option( |
| 134 | 'enable-host-state', type: 'feature', value: 'disabled', |
| 135 | description: 'Enable host state.' |
| 136 | ) |