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