summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 \
+ "