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