summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeepak Kodihalli <dkodihal@in.ibm.com>2019-10-14 09:23:27 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-10-17 03:33:49 +0300
commit7a113ee7dd9c7ffd11f8979b0207a5cfaf8f9660 (patch)
treeb1cf2c5dfaf7cc397f8072db664f7cef725e5b81
parent170f12bd2255304fd691663d8d4c6bc2aa0195ef (diff)
downloadopenbmc-7a113ee7dd9c7ffd11f8979b0207a5cfaf8f9660.tar.xz
Add recipe for PLDM
The recipe installs the following: - libpldm - libpldmresponder Details about these libs can be found at https://github.com/openbmc/pldm/blob/master/README.md. The recipe also installs the pldm daemon (pldmd), however it doesn't provide a service file to start the daemon. This is because pldmd depends on the MCTP demux daemon, which in turn would have system specific invocations via its service file. Hence the service files for pldm (and libmctp) would likely be installed via system specific bbappends. (From meta-phosphor rev: 394e867e7778d76c84aea52f64d1e3a60c968c01) Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com> Change-Id: I969840119aa51502dce2b5b1cf4d6085ee4e8fd2 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
-rw-r--r--meta-phosphor/recipes-phosphor/pldm/pldm.inc5
-rw-r--r--meta-phosphor/recipes-phosphor/pldm/pldm_git.bb22
2 files changed, 27 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/pldm/pldm.inc b/meta-phosphor/recipes-phosphor/pldm/pldm.inc
new file mode 100644
index 000000000..1945b99e6
--- /dev/null
+++ b/meta-phosphor/recipes-phosphor/pldm/pldm.inc
@@ -0,0 +1,5 @@
+HOMEPAGE = "https://github.com/openbmc/pldm"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
+SRC_URI = "git://github.com/openbmc/pldm"
+SRCREV = "960dc96969e71defb6c9d708ad943a6dad0ea87b"
diff --git a/meta-phosphor/recipes-phosphor/pldm/pldm_git.bb b/meta-phosphor/recipes-phosphor/pldm/pldm_git.bb
new file mode 100644
index 000000000..c09e5dd02
--- /dev/null
+++ b/meta-phosphor/recipes-phosphor/pldm/pldm_git.bb
@@ -0,0 +1,22 @@
+SUMMARY = "PLDM Stack"
+DESCRIPTION = "Implementation of the PLDM specifications"
+PR = "r1"
+PV = "1.0+git${SRCPV}"
+
+inherit meson pkgconfig
+
+require pldm.inc
+
+DEPENDS += "systemd"
+DEPENDS += "phosphor-logging"
+DEPENDS += "phosphor-dbus-interfaces"
+DEPENDS += "nlohmann-json"
+DEPENDS += "boost"
+DEPENDS += "cli11"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OEMESON = " \
+ -Dtests=disabled \
+ -Doem-ibm=disabled \
+ "