Move to libpldm pldm_transport APIs
- Replaced the deprecated pldm transport APIs with the new libpldm
pldm_transport APIs.
This change migrates the application off of the deprecated "requester"
APIs in libpldm.
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.
Change-Id: Iedbfe936a710d37f75e737c3d307295ff55cf07b
Signed-off-by: Rashmica Gupta <rashmica@linux.ibm.com>
Signed-off-by: Lakshmi Yadlapati <lakshmiy@us.ibm.com>
diff --git a/meson.build b/meson.build
index 777f4d7..bbe2c33 100644
--- a/meson.build
+++ b/meson.build
@@ -43,6 +43,10 @@
conf_data.set('PLDM', get_option('with-host-communication-protocol')=='pldm')
conf_data.set('POWER10', get_option('power10-support').allowed())
+if cxx.has_header('poll.h')
+ conf_data.set('PLDM_HAS_POLL', 1)
+endif
+
configure_file(output: 'config.h',
configuration: conf_data
)