1# SPDX-License-Identifier: Apache-2.0
2
3option('tests', type: 'feature', description: 'Build tests')
4
5option('jffs-workaround', type: 'feature',
6        description : 'Turn on jffs workaround for core file'
7      )
8
9option('DUMP_BUSNAME', type : 'string',
10        value : 'xyz.openbmc_project.Dump.Manager',
11        description : 'The D-Bus busname to own'
12      )
13
14option('DUMP_OBJPATH', type : 'string',
15        value : '/xyz/openbmc_project/dump',
16        description : 'The dump manager D-Bus root'
17      )
18
19option('BMC_DUMP_OBJPATH', type : 'string',
20        value : '/xyz/openbmc_project/dump/bmc',
21        description : 'The BMC dump manager D-Bus object path'
22      )
23
24option('CORE_FILE_DIR', type : 'string',
25        value : '/var/lib/systemd/coredump',
26        description : 'Directory where core dumps are placed'
27      )
28
29option('OBJ_INTERNAL', type : 'string',
30        value : '/xyz/openbmc_project/dump/internal/manager',
31        description : 'Internal dump manager D-Bus object path'
32      )
33
34option('BMC_DUMP_OBJ_ENTRY', type : 'string',
35        value : '/xyz/openbmc_project/dump/bmc/entry',
36        description : 'The BMC dump entry D-Bus object path'
37      )
38
39option('BMC_DUMP_PATH', type : 'string',
40        value : '/var/lib/phosphor-debug-collector/dumps/',
41        description : 'Directory where bmc dumps are placed'
42      )
43
44option('SYSTEMD_PSTORE_PATH', type : 'string',
45        value : '/var/lib/systemd/pstore/',
46        description : 'Path to the systemd pstore directory'
47)
48
49option('BMC_DUMP_MAX_SIZE', type : 'integer',
50        value : 200,
51        description : 'Maximum size of one bmc dump in kilo bytes'
52      )
53
54option('BMC_DUMP_MIN_SPACE_REQD', type : 'integer',
55        value : 20,
56        description : 'Minimum space required for one bmc dump in kilo bytes'
57      )
58
59option('BMC_DUMP_TOTAL_SIZE', type : 'integer',
60        value : 1024,
61        description : 'Total size of the dump in kilo bytes'
62      )
63
64option('ELOG_ID_PERSIST_PATH', type : 'string',
65        value : '/var/lib/phosphor-debug-collector/elogid',
66        description : 'Path of file for storing elog id\'s, which have associated dumps'
67      )
68
69option('CLASS_VERSION', type : 'integer',
70        value : 1,
71        description : 'Class version to register with Cereal'
72      )
73
74option('ERROR_MAP_YAML', type : 'string',
75        value : 'example_errors_watch.yaml',
76        description : 'YAML filepath containing error object paths'
77      )
78
79option('host-transport', type : 'string',
80        value : 'default',
81        description : 'To specify the host dump transport protocol')
82
83option('openpower-dumps-extension', type: 'feature',
84        value : 'disabled',
85        description : 'Enable Open Power specific dumps'
86      )
87
88option('dump_rotate_config', type: 'feature',
89        value : 'disabled',
90        description : 'Enable rotate config for bmc dump'
91      )
92
93# Fault log options
94
95option('FAULTLOG_DUMP_PATH', type : 'string',
96        value : '/var/lib/phosphor-debug-collector/faultlogs/',
97        description : 'Directory where fault logs are placed'
98      )
99
100option('FAULTLOG_DUMP_OBJPATH', type : 'string',
101        value : '/xyz/openbmc_project/dump/faultlog',
102        description : 'The fault log dump manager D-Bus object path'
103      )
104
105option('FAULTLOG_DUMP_OBJ_ENTRY', type : 'string',
106        value : '/xyz/openbmc_project/dump/faultlog/entry',
107        description : 'The fault log dump entry D-Bus object path'
108      )
109
110# Configurations for openpower-dump extension
111
112# System dump options
113
114option('SYSTEM_DUMP_OBJPATH', type : 'string',
115        value : '/xyz/openbmc_project/dump/system',
116        description : 'The system dump manager D-Bus object path'
117      )
118
119option('SYSTEM_DUMP_OBJ_ENTRY', type : 'string',
120        value : '/xyz/openbmc_project/dump/system/entry',
121        description : 'The system dump entry D-Bus object path'
122      )
123
124# Resource dump options
125
126option('RESOURCE_DUMP_OBJPATH', type : 'string',
127        value : '/xyz/openbmc_project/dump/resource',
128        description : 'The resource dump manager D-Bus object path'
129      )
130
131option('RESOURCE_DUMP_OBJ_ENTRY', type : 'string',
132        value : '/xyz/openbmc_project/dump/resource/entry',
133        description : 'The resource dump entry D-Bus object path'
134      )
135