Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: Apache-2.0 |
| 2 | |
Chirag Sharma | 5042725 | 2020-08-11 12:11:38 -0500 | [diff] [blame] | 3 | option('tests', type: 'feature', description: 'Build tests') |
| 4 | |
Chirag Sharma | e22aca7 | 2021-01-18 09:55:29 -0600 | [diff] [blame] | 5 | option('jffs-workaround', type: 'feature', |
| 6 | description : 'Turn on jffs workaround for core file' |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 7 | ) |
| 8 | |
| 9 | option('DUMP_BUSNAME', type : 'string', |
| 10 | value : 'xyz.openbmc_project.Dump.Manager', |
| 11 | description : 'The Dbus busname to own' |
| 12 | ) |
| 13 | |
| 14 | option('DUMP_OBJPATH', type : 'string', |
| 15 | value : '/xyz/openbmc_project/dump', |
| 16 | description : 'The Dump manager Dbus root' |
| 17 | ) |
| 18 | |
Dhruvaraj Subhashchandran | fef66a9 | 2020-09-06 13:10:59 -0500 | [diff] [blame] | 19 | option('BMC_DUMP_OBJPATH', type : 'string', |
| 20 | value : '/xyz/openbmc_project/dump/bmc', |
| 21 | description : 'The BMC Dump manager Dbus object path' |
| 22 | ) |
| 23 | |
| 24 | option('SYSTEM_DUMP_OBJPATH', type : 'string', |
| 25 | value : '/xyz/openbmc_project/dump/system', |
| 26 | description : 'The system Dump manager Dbus object path' |
| 27 | ) |
| 28 | |
Dhruvaraj Subhashchandran | 62337a9 | 2020-11-22 21:24:30 -0600 | [diff] [blame] | 29 | option('RESOURCE_DUMP_OBJPATH', type : 'string', |
| 30 | value : '/xyz/openbmc_project/dump/resource', |
| 31 | description : 'The resource dump manager Dbus object path' |
| 32 | ) |
| 33 | |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 34 | option('CORE_FILE_DIR', type : 'string', |
| 35 | value : '/var/lib/systemd/coredump', |
| 36 | description : 'Directory where core dumps are placed' |
| 37 | ) |
| 38 | |
| 39 | option('OBJ_INTERNAL', type : 'string', |
| 40 | value : '/xyz/openbmc_project/dump/internal/manager', |
| 41 | description : 'Internal Dump manager Dbus object path' |
| 42 | ) |
| 43 | |
Dhruvaraj Subhashchandran | fef66a9 | 2020-09-06 13:10:59 -0500 | [diff] [blame] | 44 | option('BMC_DUMP_OBJ_ENTRY', type : 'string', |
| 45 | value : '/xyz/openbmc_project/dump/bmc/entry', |
| 46 | description : 'The BMC dump entry DBus object path' |
| 47 | ) |
| 48 | |
| 49 | option('SYSTEM_DUMP_OBJ_ENTRY', type : 'string', |
| 50 | value : '/xyz/openbmc_project/dump/system/entry', |
| 51 | description : 'The system dump entry DBus object path' |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 52 | ) |
| 53 | |
Dhruvaraj Subhashchandran | 62337a9 | 2020-11-22 21:24:30 -0600 | [diff] [blame] | 54 | option('RESOURCE_DUMP_OBJ_ENTRY', type : 'string', |
| 55 | value : '/xyz/openbmc_project/dump/resource/entry', |
| 56 | description : 'The resource dump entry DBus object path' |
| 57 | ) |
| 58 | |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 59 | option('BMC_DUMP_PATH', type : 'string', |
| 60 | value : '/var/lib/phosphor-debug-collector/dumps/', |
| 61 | description : 'Directory where bmc dumps are placed' |
| 62 | ) |
| 63 | |
George Liu | ff92ffe | 2021-02-09 15:01:53 +0800 | [diff] [blame] | 64 | option('SYSTEMD_PSTORE_PATH', type : 'string', |
| 65 | value : '/var/lib/systemd/pstore/', |
| 66 | description : 'Path to the systemd pstore directory' |
| 67 | ) |
| 68 | |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 69 | option('BMC_DUMP_MAX_SIZE', type : 'integer', |
| 70 | value : 200, |
| 71 | description : 'Maximum size of one bmc dump in kilo bytes' |
| 72 | ) |
| 73 | |
| 74 | option('BMC_DUMP_MIN_SPACE_REQD', type : 'integer', |
| 75 | value : 20, |
| 76 | description : 'Minimum space required for one bmc dump in kilo bytes' |
| 77 | ) |
| 78 | |
| 79 | option('BMC_DUMP_TOTAL_SIZE', type : 'integer', |
| 80 | value : 1024, |
| 81 | description : 'Total size of the dump in kilo bytes' |
| 82 | ) |
| 83 | |
| 84 | option('ELOG_ID_PERSIST_PATH', type : 'string', |
| 85 | value : '/var/lib/phosphor-debug-collector/elogid', |
| 86 | description : 'Path of file for storing elog id\'s, which have associated dumps' |
| 87 | ) |
| 88 | |
| 89 | option('CLASS_VERSION', type : 'integer', |
| 90 | value : 1, |
| 91 | description : 'Class version to register with Cereal' |
| 92 | ) |
| 93 | |
| 94 | option('ERROR_MAP_YAML', type : 'string', |
| 95 | value : 'example_errors_watch.yaml', |
| 96 | description : 'YAML filepath containing error object paths' |
| 97 | ) |
| 98 | |
Ramesh Iyyar | 131994b | 2020-12-03 08:35:36 -0600 | [diff] [blame] | 99 | option('host-transport', type : 'string', |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 100 | value : 'default', |
| 101 | description : 'To specify the host dump transport protocol') |
Dhruvaraj Subhashchandran | 8b9b469 | 2020-09-24 11:59:42 -0500 | [diff] [blame] | 102 | |
| 103 | option('openpower-dumps-extension', type: 'feature', |
| 104 | value : 'disabled', |
| 105 | description : 'Enable Open Power specific dumps' |
| 106 | ) |