blob: 66874229316c0db05d9d1bde553a9d72892893a3 [file] [log] [blame]
Mike Cappsa0819562022-06-13 10:17:10 -04001
2option(
3 'tests', type: 'feature', value: 'enabled', description: 'Build tests.',
4)
5
6option(
7 'json-config', type: 'feature', value: 'enabled',
8 description: 'Use json at runtime to configure fan packages.'
9)
10
11option(
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
18option(
19 'control-service', type: 'feature', value: 'enabled',
20 description: 'Build fan control service.'
21)
22
23option(
24 'json-control', type: 'feature', value: 'enabled',
25 description: 'Disable JSON based fan control even if json-config is enabled.'
26)
27
28option(
29 'control-busname', type: 'string', value: 'xyz.openbmc_project.Control.Thermal',
30 description: 'Application\'s D-Bus busname to own.'
31)
32
33option(
34 'control-objpath', type: 'string', value: '/xyz/openbmc_project/control/thermal',
35 description: 'Application\'s root D-Bus object path.'
36)
37
38option(
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
43option(
44 'fan-def-yaml-file', type: 'string', value: 'example/fans.yaml',
45 description: 'Build time fan configuration file'
46)
47option(
48 'fan-zone-yaml-file', type: 'string', value: 'example/zones.yaml',
49 description: 'Build time fan configuration file'
50)
51option(
52 'zone-events-yaml-file', type: 'string', value: 'example/events.yaml',
53 description: 'Build time fan configuration file'
54)
55option(
56 'zone-conditions-yaml-file', type: 'string', value: 'example/zone_conditions.yaml',
57 description: 'Build time fan configuration file'
58)
59
60# Monitor
61
62option(
63 'monitor-service', type: 'feature', value: 'enabled',
64 description: 'Build fan monitor service'
65)
66
67option(
68 'fan-monitor-yaml-file', type: 'string', value: 'example/monitor.yaml',
69 description: 'Location of the config file'
70)
71
72option(
73 'num-monitor-log-entries', type: 'integer', value: 75,
74 description: 'Maximum number of entries in the monitor log.'
75)
76
77option(
78 'thermal-alert-busname', type: 'string', value: 'xyz.openbmc_project.Thermal.Alert',
79 description: 'Application\'s D-Bus busname to own.'
80)
81
82option(
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
89option(
90 'presence-service', type: 'feature', value: 'enabled',
91 description: 'Build fan presence service.'
92)
93
94option(
95 'presence-config', type: 'string', value: 'example/example.yaml',
96 description: 'Location of the config file'
97)
98
99option(
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
106option(
107 'sensor-monitor-service', type: 'feature', value: 'enabled',
108 description: 'Build sensor monitor.'
109)
110
111option(
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
116option(
117 'sensor-monitor-hard-shutdown-delay', type: 'integer', value: 23000,
118 description: 'Milliseconds to delay the alarm before hard shutdown.'
119)
120
121option(
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
128option(
129 'cooling-type-service', type: 'feature', value: 'disabled',
130 description: 'Build cooling-type package.'
131)
132
133option(
134 'enable-host-state', type: 'feature', value: 'disabled',
135 description: 'Enable host state.'
136)