summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@codeconstruct.com.au>2023-10-22 14:13:37 +0300
committerPatrick Williams <patrick@stwcx.xyz>2023-10-24 05:16:15 +0300
commitd828408e8d84606b8fee5a694bb8b5a060705541 (patch)
tree4a464ec1d9570ab87d9a07906b3766c51e0930ef
parent152c4dfd137915990adaa44715ad8a7520b081d5 (diff)
downloadopenbmc-d828408e8d84606b8fee5a694bb8b5a060705541.tar.xz
meta-phosphor: pldm: Enable af-mctp transport with df-mctp
Use of the mctp-demux transport is deprecated in OpenBMC. AF_MCTP sockets should be used instead. Default platforms using the `mctp` distro feature to the AF_MCTP transport, in line with the support configured and installed by it. Change-Id: I01e27bf164a840e4fbd585254efaf0202a79d986 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
-rw-r--r--meta-phosphor/recipes-phosphor/pldm/pldm_git.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/pldm/pldm_git.bb b/meta-phosphor/recipes-phosphor/pldm/pldm_git.bb
index a66396f916..a96c89e727 100644
--- a/meta-phosphor/recipes-phosphor/pldm/pldm_git.bb
+++ b/meta-phosphor/recipes-phosphor/pldm/pldm_git.bb
@@ -24,6 +24,11 @@ SYSTEMD_SERVICE:${PN} += "pldmSoftPowerOff.service"
inherit meson pkgconfig
inherit systemd
+PACKAGECONFIG[transport-mctp-demux] = "-Dtransport-implementation=mctp-demux"
+PACKAGECONFIG[transport-af-mctp] = "-Dtransport-implementation=af-mctp"
+PACKAGECONFIG ??= ""
+PACKAGECONFIG:append:df-mctp = " transport-af-mctp"
+
EXTRA_OEMESON = " \
-Dtests=disabled \
-Doem-ibm=disabled \