summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManojkiran Eda <manojkiran.eda@gmail.com>2022-09-27 21:52:41 +0300
committerPatrick Williams <patrick@stwcx.xyz>2022-09-30 14:47:49 +0300
commitc86cd9f2bc986f0d1f0fa6585034add8aa7e0448 (patch)
tree07b9bb437adc870076c454e208031d3342975102
parent3aad98eaa1e11d305e5d58bad91a801f0000bc30 (diff)
downloadopenbmc-c86cd9f2bc986f0d1f0fa6585034add8aa7e0448.tar.xz
Add new libpldm recipe
This is a dummy recipe which points to the existing pldm repository but enables only building the libpldm shared library. This recipe would point to the libpldm.git once the migration is complete. Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: I1aef3702b5b05f389c6a24e752e44daff57afd6e
-rw-r--r--meta-ibm/recipes-phosphor/libpldm/libpldm_%.bbappend1
-rw-r--r--meta-phosphor/recipes-phosphor/libpldm/libpldm_git.bb17
2 files changed, 18 insertions, 0 deletions
diff --git a/meta-ibm/recipes-phosphor/libpldm/libpldm_%.bbappend b/meta-ibm/recipes-phosphor/libpldm/libpldm_%.bbappend
new file mode 100644
index 0000000000..89449c5c08
--- /dev/null
+++ b/meta-ibm/recipes-phosphor/libpldm/libpldm_%.bbappend
@@ -0,0 +1 @@
+PACKAGECONFIG:append = "oem-ibm"
diff --git a/meta-phosphor/recipes-phosphor/libpldm/libpldm_git.bb b/meta-phosphor/recipes-phosphor/libpldm/libpldm_git.bb
new file mode 100644
index 0000000000..09705edb81
--- /dev/null
+++ b/meta-phosphor/recipes-phosphor/libpldm/libpldm_git.bb
@@ -0,0 +1,17 @@
+SUMMARY = "libpldm shared library"
+DESCRIPTION = "PLDM library implementing various PLDM specifications"
+HOMEPAGE = "https://github.com/openbmc/libpldm"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
+SRCREV = "dcf77d6894a5b2d93980f14e688d99b17ddb68ff"
+PACKAGECONFIG[oem-ibm] = "-Doem-ibm=enabled,-Doem-ibm=disabled,,"
+
+PV = "0.1.0+git${SRCPV}"
+PR = "r1"
+SRC_URI = "git://github.com/openbmc/pldm;branch=master;protocol=https"
+
+S = "${WORKDIR}/git"
+
+inherit meson
+
+EXTRA_OEMESON:append = " -Dtests=disabled -Dlibpldm-only=enabled"