blob: f2e3c2301028065c948e76d326597649d33adc7c [file] [log] [blame]
Dhruvaraj Subhashchandran8b9b4692020-09-24 11:59:42 -05001# SPDX-License-Identifier: Apache-2.0
2
Dhruvaraj Subhashchandran796a92e2021-05-05 13:15:24 -05003# Configuration header file(openpower_dumps_config.h) generation
4opconf_data = configuration_data()
5
6opconf_data.set_quoted('SYSTEM_DUMP_OBJPATH', get_option('SYSTEM_DUMP_OBJPATH'),
7 description : 'The system dump manager D-Bus path'
8 )
9opconf_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
13opconf_data.set_quoted('RESOURCE_DUMP_OBJPATH', get_option('RESOURCE_DUMP_OBJPATH'),
14 description : 'The resource dump manager D-Bus path'
15 )
16opconf_data.set_quoted('RESOURCE_DUMP_OBJ_ENTRY', get_option('RESOURCE_DUMP_OBJ_ENTRY'),
17 description : 'The resource dump entry D-Bus object path'
18 )
19configure_file(configuration : opconf_data,
20 output : 'openpower_dumps_config.h'
21 )
22
Dhruvaraj Subhashchandran8b9b4692020-09-24 11:59:42 -050023phosphor_dump_manager_sources += [
24 'dump-extensions/openpower-dumps/dump-extensions.cpp',
25 'dump-extensions/openpower-dumps/dump_manager_system.cpp',
Dhruvaraj Subhashchandran62337a92020-11-22 21:24:30 -060026 '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 Subhashchandran8b9b4692020-09-24 11:59:42 -050029 ]