Fix recipes to use libpldm instead of pldm & bump
This commit does following things :
1. It would build pldm in libpldm-only=disabled mode, so pldm recipe
would now not build & ship libpldm anymore.
2. Package libpldm into ibm systems which actually build pldm repo with
just libpldm-only option & ships the libpldm shared library.
3. Change pldm & all the dependent recipes to use libpldm instead of
pldm.
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I6c616f6d8df00e783f94da0e69bd3127089e2184
diff --git a/meta-phosphor/recipes-phosphor/dump/phosphor-debug-collector_git.bb b/meta-phosphor/recipes-phosphor/dump/phosphor-debug-collector_git.bb
index d618e14..b47c750 100644
--- a/meta-phosphor/recipes-phosphor/dump/phosphor-debug-collector_git.bb
+++ b/meta-phosphor/recipes-phosphor/dump/phosphor-debug-collector_git.bb
@@ -22,7 +22,7 @@
-Djffs-workaround=disabled"
PACKAGECONFIG[host-dump-transport-pldm] = " \
-Dhost-transport=pldm,, \
- pldm \
+ libpldm \
"
PACKAGECONFIG[openpower-dumps-extension] = " \
-Dopenpower-dumps-extension=enabled, \
diff --git a/meta-phosphor/recipes-phosphor/logging/phosphor-logging_git.bb b/meta-phosphor/recipes-phosphor/logging/phosphor-logging_git.bb
index 8044cb3..81dc0a6 100644
--- a/meta-phosphor/recipes-phosphor/logging/phosphor-logging_git.bb
+++ b/meta-phosphor/recipes-phosphor/logging/phosphor-logging_git.bb
@@ -20,7 +20,7 @@
PACKAGECONFIG[openpower-pels] = " \
-Dopenpower-pel-extension=enabled, \
-Dopenpower-pel-extension=disabled, \
- nlohmann-json cli11 pldm python3, \
+ nlohmann-json cli11 libpldm python3, \
python3, \
"
PV = "1.0+git${SRCPV}"
diff --git a/meta-phosphor/recipes-phosphor/pldm/pldm_git.bb b/meta-phosphor/recipes-phosphor/pldm/pldm_git.bb
index bf67245..8d375a1 100644
--- a/meta-phosphor/recipes-phosphor/pldm/pldm_git.bb
+++ b/meta-phosphor/recipes-phosphor/pldm/pldm_git.bb
@@ -6,6 +6,7 @@
DEPENDS += "phosphor-dbus-interfaces"
DEPENDS += "nlohmann-json"
DEPENDS += "cli11"
+DEPENDS += "libpldm"
PV = "1.0+git${SRCPV}"
PR = "r1"
@@ -19,6 +20,7 @@
EXTRA_OEMESON = " \
-Dtests=disabled \
-Doem-ibm=disabled \
+ -Dlibpldm-only=disabled \
"
pkg_prerm:${PN} () {