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.
***Testing in progress***
Change-Id: I2bb9927fea254fe5bf88e1181476d491e533cf20
Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>
diff --git a/meson.build b/meson.build
index 269ec49..a0fa425 100644
--- a/meson.build
+++ b/meson.build
@@ -45,6 +45,10 @@
conf.set('CONFIG_PHAL_API', get_option('phal').allowed())
+if cmplr.has_header('poll.h')
+ add_project_arguments('-DPLDM_HAS_POLL=1', language: 'cpp')
+endif
+
configure_file(input: 'config.h.in', output: 'config.h', configuration: conf)
#-------------------------------------------------------------------------------