blob: f4ef0cd22d219e90ab2ab7d49d00166b13fef6a3 [file] [log] [blame]
Dhruvaraj Subhashchandran8b9b4692020-09-24 11:59:42 -05001# SPDX-License-Identifier: Apache-2.0
2
Dhruvaraj Subhashchandran9f557362021-05-12 06:28:20 -05003unit_files += {'input': 'dump-extensions/openpower-dumps/clear_hostdumps_poweroff.service',
4 'output': 'clear_hostdumps_poweroff.service'}
5
Dhruvaraj Subhashchandran796a92e2021-05-05 13:15:24 -05006# Configuration header file(openpower_dumps_config.h) generation
7opconf_data = configuration_data()
8
9opconf_data.set_quoted('SYSTEM_DUMP_OBJPATH', get_option('SYSTEM_DUMP_OBJPATH'),
10 description : 'The system dump manager D-Bus path'
11 )
12opconf_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
16opconf_data.set_quoted('RESOURCE_DUMP_OBJPATH', get_option('RESOURCE_DUMP_OBJPATH'),
17 description : 'The resource dump manager D-Bus path'
18 )
19opconf_data.set_quoted('RESOURCE_DUMP_OBJ_ENTRY', get_option('RESOURCE_DUMP_OBJ_ENTRY'),
20 description : 'The resource dump entry D-Bus object path'
21 )
22configure_file(configuration : opconf_data,
23 output : 'openpower_dumps_config.h'
24 )
25
Dhruvaraj Subhashchandran8b9b4692020-09-24 11:59:42 -050026phosphor_dump_manager_sources += [
27 'dump-extensions/openpower-dumps/dump-extensions.cpp',
28 'dump-extensions/openpower-dumps/dump_manager_system.cpp',
Dhruvaraj Subhashchandran62337a92020-11-22 21:24:30 -060029 'dump-extensions/openpower-dumps/system_dump_entry.cpp',
30 'dump-extensions/openpower-dumps/dump_manager_resource.cpp',
Dhruvaraj Subhashchandran9e905372021-08-20 04:06:06 -050031 'dump-extensions/openpower-dumps/resource_dump_entry.cpp',
32 'dump-extensions/openpower-dumps/op_dump_util.cpp'
Dhruvaraj Subhashchandran8b9b4692020-09-24 11:59:42 -050033 ]