Dhruvaraj Subhashchandran | 8b9b469 | 2020-09-24 11:59:42 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: Apache-2.0 |
| 2 | |
Dhruvaraj Subhashchandran | 9f55736 | 2021-05-12 06:28:20 -0500 | [diff] [blame] | 3 | unit_files += {'input': 'dump-extensions/openpower-dumps/clear_hostdumps_poweroff.service', |
| 4 | 'output': 'clear_hostdumps_poweroff.service'} |
| 5 | |
Dhruvaraj Subhashchandran | 796a92e | 2021-05-05 13:15:24 -0500 | [diff] [blame] | 6 | # Configuration header file(openpower_dumps_config.h) generation |
| 7 | opconf_data = configuration_data() |
| 8 | |
| 9 | opconf_data.set_quoted('SYSTEM_DUMP_OBJPATH', get_option('SYSTEM_DUMP_OBJPATH'), |
| 10 | description : 'The system dump manager D-Bus path' |
| 11 | ) |
| 12 | opconf_data.set_quoted('SYSTEM_DUMP_OBJ_ENTRY', get_option('SYSTEM_DUMP_OBJ_ENTRY'), |
| 13 | description : 'The system dump entry D-Bus object path' |
| 14 | ) |
| 15 | |
| 16 | opconf_data.set_quoted('RESOURCE_DUMP_OBJPATH', get_option('RESOURCE_DUMP_OBJPATH'), |
| 17 | description : 'The resource dump manager D-Bus path' |
| 18 | ) |
| 19 | opconf_data.set_quoted('RESOURCE_DUMP_OBJ_ENTRY', get_option('RESOURCE_DUMP_OBJ_ENTRY'), |
| 20 | description : 'The resource dump entry D-Bus object path' |
| 21 | ) |
| 22 | configure_file(configuration : opconf_data, |
| 23 | output : 'openpower_dumps_config.h' |
| 24 | ) |
| 25 | |
Dhruvaraj Subhashchandran | 8b9b469 | 2020-09-24 11:59:42 -0500 | [diff] [blame] | 26 | phosphor_dump_manager_sources += [ |
| 27 | 'dump-extensions/openpower-dumps/dump-extensions.cpp', |
| 28 | 'dump-extensions/openpower-dumps/dump_manager_system.cpp', |
Dhruvaraj Subhashchandran | 62337a9 | 2020-11-22 21:24:30 -0600 | [diff] [blame] | 29 | 'dump-extensions/openpower-dumps/system_dump_entry.cpp', |
| 30 | 'dump-extensions/openpower-dumps/dump_manager_resource.cpp', |
Dhruvaraj Subhashchandran | 9e90537 | 2021-08-20 04:06:06 -0500 | [diff] [blame] | 31 | 'dump-extensions/openpower-dumps/resource_dump_entry.cpp', |
| 32 | 'dump-extensions/openpower-dumps/op_dump_util.cpp' |
Dhruvaraj Subhashchandran | 8b9b469 | 2020-09-24 11:59:42 -0500 | [diff] [blame] | 33 | ] |