Move to libpldm pldm_transport APIs
Replaced pldm transport APIs with libpldm pldm_transport APIs to
remove the dependency on pldm.
This change removes the dependency on pldm by utilizing the
standardized libpldm APIs for transport operations, improving
maintainability and compatibility.
We don't currently have the infrastructure in place to get the correct
TIDs, so to keep everything working as before use the EID as the TID in
the EID-to-TID mapping.
Test: Tested the resource dump download and delete using GUI
and it works as expected.
Change-Id: I3ec741024c7b99f0ee630678f3b3b49f741e1ea1
Signed-off-by: Lakshmi Yadlapati <lakshmiy@us.ibm.com>
Signed-off-by: Eddie James <eajames@linux.ibm.com>
diff --git a/meson.build b/meson.build
index b80beec..0207520 100644
--- a/meson.build
+++ b/meson.build
@@ -119,6 +119,10 @@
description : 'Turn on rotate config for bmc dump'
)
+if cpp.has_header('poll.h')
+ add_project_arguments('-DPLDM_HAS_POLL=1', language: 'cpp')
+endif
+
configure_file(configuration : conf_data,
output : 'config.h'
)