Manojkiran Eda | 1421a80 | 2022-04-05 09:41:05 +0530 | [diff] [blame] | 1 | libpldmresponder_deps = [ |
Manojkiran Eda | 001f788 | 2021-01-04 18:21:18 +0530 | [diff] [blame] | 2 | phosphor_dbus_interfaces, |
Riya Dixit | 49cfb13 | 2023-03-02 04:26:53 -0600 | [diff] [blame] | 3 | phosphor_logging_dep, |
Patrick Williams | cf77284 | 2023-12-07 14:39:52 -0600 | [diff] [blame] | 4 | nlohmann_json_dep, |
Manojkiran Eda | 001f788 | 2021-01-04 18:21:18 +0530 | [diff] [blame] | 5 | sdbusplus, |
| 6 | sdeventplus, |
Patrick Williams | 6f4479c | 2021-04-16 21:39:44 -0500 | [diff] [blame] | 7 | libpldm_dep, |
George Liu | ab437e5 | 2020-01-19 17:12:19 +0800 | [diff] [blame] | 8 | libpldmutils |
Deepak Kodihalli | 3c275e1 | 2019-09-21 06:39:39 -0500 | [diff] [blame] | 9 | ] |
| 10 | |
| 11 | sources = [ |
| 12 | 'base.cpp', |
| 13 | 'bios.cpp', |
| 14 | 'bios_table.cpp', |
John Wang | e2efdcc | 2020-02-12 17:02:06 +0800 | [diff] [blame] | 15 | 'bios_attribute.cpp', |
John Wang | 29683b5 | 2020-02-27 16:41:44 +0800 | [diff] [blame] | 16 | 'bios_string_attribute.cpp', |
John Wang | 95e6b3c | 2020-02-13 09:43:24 +0800 | [diff] [blame] | 17 | 'bios_integer_attribute.cpp', |
John Wang | 3be7085 | 2020-02-13 15:59:04 +0800 | [diff] [blame] | 18 | 'bios_enum_attribute.cpp', |
John Wang | d965934 | 2020-02-27 16:46:05 +0800 | [diff] [blame] | 19 | 'bios_config.cpp', |
George Liu | e53193f | 2020-02-24 09:23:26 +0800 | [diff] [blame] | 20 | 'pdr_utils.cpp', |
Deepak Kodihalli | 3c275e1 | 2019-09-21 06:39:39 -0500 | [diff] [blame] | 21 | 'pdr.cpp', |
Deepak Kodihalli | 557dfb0 | 2019-05-12 13:11:17 +0530 | [diff] [blame] | 22 | 'platform.cpp', |
Kamalkumar Patel | 3c50c82 | 2024-01-30 07:14:40 -0600 | [diff] [blame] | 23 | 'platform_config.cpp', |
Deepak Kodihalli | 70e8db0 | 2019-10-21 00:59:46 -0500 | [diff] [blame] | 24 | 'fru_parser.cpp', |
Deepak Kodihalli | 8cb6f66 | 2020-04-10 02:55:43 -0500 | [diff] [blame] | 25 | 'fru.cpp', |
Deepak Kodihalli | ac19bd6 | 2020-06-16 08:25:23 -0500 | [diff] [blame] | 26 | '../host-bmc/host_pdr_handler.cpp', |
Kamalkumar Patel | 516122e | 2024-05-07 04:39:32 -0500 | [diff] [blame] | 27 | '../host-bmc/utils.cpp', |
George Liu | cae1866 | 2020-05-15 09:32:57 +0800 | [diff] [blame] | 28 | '../host-bmc/dbus_to_event_handler.cpp', |
Tom Joseph | 02b4ee4 | 2021-05-02 22:44:36 -0700 | [diff] [blame] | 29 | '../host-bmc/dbus_to_host_effecters.cpp', |
Tom Joseph | 20aa3e0 | 2021-08-17 04:44:19 -0700 | [diff] [blame] | 30 | '../host-bmc/host_condition.cpp', |
Kamalkumar Patel | 14107a1 | 2024-06-19 08:50:01 -0500 | [diff] [blame] | 31 | '../host-bmc/dbus/custom_dbus.cpp', |
Kamalkumar Patel | 56da574 | 2024-05-23 04:53:07 -0500 | [diff] [blame^] | 32 | '../host-bmc/dbus/cpu_core.cpp', |
Kamalkumar Patel | 4e69d25 | 2024-05-10 08:48:03 -0500 | [diff] [blame] | 33 | '../host-bmc/utils.cpp', |
TOM JOSEPH | d4d97a5 | 2020-03-23 14:36:34 +0530 | [diff] [blame] | 34 | 'event_parser.cpp' |
Deepak Kodihalli | 3c275e1 | 2019-09-21 06:39:39 -0500 | [diff] [blame] | 35 | ] |
| 36 | |
Manojkiran Eda | 998dc4e | 2022-07-28 08:18:03 +0530 | [diff] [blame] | 37 | responder_headers = ['.'] |
| 38 | |
Patrick Williams | 87bfacd | 2023-11-29 06:44:36 -0600 | [diff] [blame] | 39 | if get_option('oem-ibm').allowed() |
Manojkiran Eda | 998dc4e | 2022-07-28 08:18:03 +0530 | [diff] [blame] | 40 | responder_headers += [ |
| 41 | '../oem/ibm/', |
| 42 | ] |
Deepak Kodihalli | 3c275e1 | 2019-09-21 06:39:39 -0500 | [diff] [blame] | 43 | sources += [ |
Ravi Teja | ce1c96f | 2020-10-05 23:13:01 -0500 | [diff] [blame] | 44 | '../oem/ibm/libpldmresponder/utils.cpp', |
Deepak Kodihalli | 3c275e1 | 2019-09-21 06:39:39 -0500 | [diff] [blame] | 45 | '../oem/ibm/libpldmresponder/file_io.cpp', |
Sampa Misra | 854e61f | 2019-08-22 04:36:47 -0500 | [diff] [blame] | 46 | '../oem/ibm/libpldmresponder/file_table.cpp', |
| 47 | '../oem/ibm/libpldmresponder/file_io_by_type.cpp', |
Sampa Misra | 1896716 | 2020-01-14 02:31:41 -0600 | [diff] [blame] | 48 | '../oem/ibm/libpldmresponder/file_io_type_pel.cpp', |
Sampa Misra | d823cc0 | 2020-03-24 04:53:20 -0500 | [diff] [blame] | 49 | '../oem/ibm/libpldmresponder/file_io_type_dump.cpp', |
Tom Joseph | 7f839f9 | 2020-09-21 10:20:44 +0530 | [diff] [blame] | 50 | '../oem/ibm/libpldmresponder/file_io_type_cert.cpp', |
Sampa Misra | aea5dde | 2020-08-31 08:33:47 -0500 | [diff] [blame] | 51 | '../oem/ibm/libpldmresponder/platform_oem_ibm.cpp', |
Pavithra Barithaya | a410c65 | 2021-07-22 01:32:47 -0500 | [diff] [blame] | 52 | '../oem/ibm/libpldmresponder/fru_oem_ibm.cpp', |
Sampa Misra | aea5dde | 2020-08-31 08:33:47 -0500 | [diff] [blame] | 53 | '../oem/ibm/libpldmresponder/oem_ibm_handler.cpp', |
Jayashankar Padath | db12436 | 2021-01-28 21:12:34 -0600 | [diff] [blame] | 54 | '../oem/ibm/libpldmresponder/inband_code_update.cpp', |
| 55 | '../oem/ibm/requester/dbus_to_file_handler.cpp', |
Manojkiran Eda | d94bb83 | 2021-02-17 11:40:22 +0530 | [diff] [blame] | 56 | '../oem/ibm/libpldmresponder/file_io_type_progress_src.cpp', |
Varsha Kaverappa | e1874e8 | 2023-05-02 09:53:24 -0500 | [diff] [blame] | 57 | '../oem/ibm/libpldmresponder/file_io_type_vpd.cpp', |
Archana Kakani | d6b0056 | 2024-03-31 17:53:58 -0500 | [diff] [blame] | 58 | '../oem/ibm/libpldmresponder/file_io_type_pcie.cpp', |
Deepak Kodihalli | 3c275e1 | 2019-09-21 06:39:39 -0500 | [diff] [blame] | 59 | ] |
| 60 | endif |
| 61 | |
| 62 | libpldmresponder = library( |
Deepak Kodihalli | 535efa0 | 2019-10-08 11:52:42 -0500 | [diff] [blame] | 63 | 'pldmresponder', |
Deepak Kodihalli | 3c275e1 | 2019-09-21 06:39:39 -0500 | [diff] [blame] | 64 | sources, |
| 65 | version: meson.project_version(), |
Manojkiran Eda | 998dc4e | 2022-07-28 08:18:03 +0530 | [diff] [blame] | 66 | include_directories:include_directories(responder_headers), |
Manojkiran Eda | 1421a80 | 2022-04-05 09:41:05 +0530 | [diff] [blame] | 67 | dependencies: libpldmresponder_deps, |
Deepak Kodihalli | 3c275e1 | 2019-09-21 06:39:39 -0500 | [diff] [blame] | 68 | install: true) |
| 69 | |
Manojkiran Eda | 998dc4e | 2022-07-28 08:18:03 +0530 | [diff] [blame] | 70 | libpldmresponder_dep = declare_dependency( |
| 71 | include_directories:include_directories(responder_headers), |
Deepak Kodihalli | 3c275e1 | 2019-09-21 06:39:39 -0500 | [diff] [blame] | 72 | link_with: libpldmresponder) |
Tom Joseph | 5327988 | 2021-04-28 06:29:13 -0700 | [diff] [blame] | 73 | |
Patrick Williams | 87bfacd | 2023-11-29 06:44:36 -0600 | [diff] [blame] | 74 | if get_option('tests').allowed() |
Tom Joseph | 5327988 | 2021-04-28 06:29:13 -0700 | [diff] [blame] | 75 | subdir('test') |
| 76 | endif |
Sagar Srinivas | 11ce8d2 | 2022-07-28 11:32:34 -0500 | [diff] [blame] | 77 | |