Deepak Kodihalli | 3c275e1 | 2019-09-21 06:39:39 -0500 | [diff] [blame] | 1 | deps = [ |
Manojkiran Eda | 001f788 | 2021-01-04 18:21:18 +0530 | [diff] [blame] | 2 | phosphor_dbus_interfaces, |
Patrick Williams | 3b1dc01 | 2021-04-16 21:51:47 -0500 | [diff] [blame] | 3 | nlohmann_json, |
Manojkiran Eda | 001f788 | 2021-01-04 18:21:18 +0530 | [diff] [blame] | 4 | sdbusplus, |
| 5 | sdeventplus, |
Patrick Williams | 6f4479c | 2021-04-16 21:39:44 -0500 | [diff] [blame] | 6 | libpldm_dep, |
George Liu | ab437e5 | 2020-01-19 17:12:19 +0800 | [diff] [blame] | 7 | libpldmutils |
Deepak Kodihalli | 3c275e1 | 2019-09-21 06:39:39 -0500 | [diff] [blame] | 8 | ] |
| 9 | |
| 10 | sources = [ |
| 11 | 'base.cpp', |
| 12 | 'bios.cpp', |
| 13 | 'bios_table.cpp', |
John Wang | e2efdcc | 2020-02-12 17:02:06 +0800 | [diff] [blame] | 14 | 'bios_attribute.cpp', |
John Wang | 29683b5 | 2020-02-27 16:41:44 +0800 | [diff] [blame] | 15 | 'bios_string_attribute.cpp', |
John Wang | 95e6b3c | 2020-02-13 09:43:24 +0800 | [diff] [blame] | 16 | 'bios_integer_attribute.cpp', |
John Wang | 3be7085 | 2020-02-13 15:59:04 +0800 | [diff] [blame] | 17 | 'bios_enum_attribute.cpp', |
John Wang | d965934 | 2020-02-27 16:46:05 +0800 | [diff] [blame] | 18 | 'bios_config.cpp', |
George Liu | e53193f | 2020-02-24 09:23:26 +0800 | [diff] [blame] | 19 | 'pdr_utils.cpp', |
Deepak Kodihalli | 3c275e1 | 2019-09-21 06:39:39 -0500 | [diff] [blame] | 20 | 'pdr.cpp', |
Deepak Kodihalli | 557dfb0 | 2019-05-12 13:11:17 +0530 | [diff] [blame] | 21 | 'platform.cpp', |
Deepak Kodihalli | 70e8db0 | 2019-10-21 00:59:46 -0500 | [diff] [blame] | 22 | 'fru_parser.cpp', |
Deepak Kodihalli | 8cb6f66 | 2020-04-10 02:55:43 -0500 | [diff] [blame] | 23 | 'fru.cpp', |
Deepak Kodihalli | ac19bd6 | 2020-06-16 08:25:23 -0500 | [diff] [blame] | 24 | '../host-bmc/host_pdr_handler.cpp', |
George Liu | cae1866 | 2020-05-15 09:32:57 +0800 | [diff] [blame] | 25 | '../host-bmc/dbus_to_event_handler.cpp', |
TOM JOSEPH | d4d97a5 | 2020-03-23 14:36:34 +0530 | [diff] [blame] | 26 | 'event_parser.cpp' |
Deepak Kodihalli | 3c275e1 | 2019-09-21 06:39:39 -0500 | [diff] [blame] | 27 | ] |
| 28 | |
| 29 | if get_option('oem-ibm').enabled() |
| 30 | sources += [ |
Ravi Teja | ce1c96f | 2020-10-05 23:13:01 -0500 | [diff] [blame] | 31 | '../oem/ibm/libpldmresponder/utils.cpp', |
Deepak Kodihalli | 3c275e1 | 2019-09-21 06:39:39 -0500 | [diff] [blame] | 32 | '../oem/ibm/libpldmresponder/file_io.cpp', |
Sampa Misra | 854e61f | 2019-08-22 04:36:47 -0500 | [diff] [blame] | 33 | '../oem/ibm/libpldmresponder/file_table.cpp', |
| 34 | '../oem/ibm/libpldmresponder/file_io_by_type.cpp', |
Sampa Misra | 1896716 | 2020-01-14 02:31:41 -0600 | [diff] [blame] | 35 | '../oem/ibm/libpldmresponder/file_io_type_pel.cpp', |
Sampa Misra | d823cc0 | 2020-03-24 04:53:20 -0500 | [diff] [blame] | 36 | '../oem/ibm/libpldmresponder/file_io_type_dump.cpp', |
Tom Joseph | 7f839f9 | 2020-09-21 10:20:44 +0530 | [diff] [blame] | 37 | '../oem/ibm/libpldmresponder/file_io_type_cert.cpp', |
Sampa Misra | aea5dde | 2020-08-31 08:33:47 -0500 | [diff] [blame] | 38 | '../oem/ibm/libpldmresponder/platform_oem_ibm.cpp', |
| 39 | '../oem/ibm/libpldmresponder/oem_ibm_handler.cpp', |
Jayashankar Padath | db12436 | 2021-01-28 21:12:34 -0600 | [diff] [blame] | 40 | '../oem/ibm/libpldmresponder/inband_code_update.cpp', |
| 41 | '../oem/ibm/requester/dbus_to_file_handler.cpp', |
Manojkiran Eda | d94bb83 | 2021-02-17 11:40:22 +0530 | [diff] [blame] | 42 | '../oem/ibm/libpldmresponder/file_io_type_progress_src.cpp', |
Deepak Kodihalli | 3c275e1 | 2019-09-21 06:39:39 -0500 | [diff] [blame] | 43 | ] |
| 44 | endif |
| 45 | |
| 46 | libpldmresponder = library( |
Deepak Kodihalli | 535efa0 | 2019-10-08 11:52:42 -0500 | [diff] [blame] | 47 | 'pldmresponder', |
Deepak Kodihalli | 3c275e1 | 2019-09-21 06:39:39 -0500 | [diff] [blame] | 48 | sources, |
| 49 | version: meson.project_version(), |
| 50 | dependencies: deps, |
| 51 | install: true) |
| 52 | |
| 53 | libpldmresponder = declare_dependency( |
| 54 | link_with: libpldmresponder) |