summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta-ibm/recipes-phosphor/libpldm/libpldm_%.bbappend2
-rw-r--r--meta-phosphor/recipes-phosphor/libpldm/libpldm_git.bb10
2 files changed, 8 insertions, 4 deletions
diff --git a/meta-ibm/recipes-phosphor/libpldm/libpldm_%.bbappend b/meta-ibm/recipes-phosphor/libpldm/libpldm_%.bbappend
index 89449c5c08..6fc8a98fe7 100644
--- a/meta-ibm/recipes-phosphor/libpldm/libpldm_%.bbappend
+++ b/meta-ibm/recipes-phosphor/libpldm/libpldm_%.bbappend
@@ -1 +1 @@
-PACKAGECONFIG:append = "oem-ibm"
+PACKAGECONFIG:append = " oem-ibm"
diff --git a/meta-phosphor/recipes-phosphor/libpldm/libpldm_git.bb b/meta-phosphor/recipes-phosphor/libpldm/libpldm_git.bb
index acb8399394..4d0766266e 100644
--- a/meta-phosphor/recipes-phosphor/libpldm/libpldm_git.bb
+++ b/meta-phosphor/recipes-phosphor/libpldm/libpldm_git.bb
@@ -4,9 +4,13 @@ HOMEPAGE = "https://github.com/openbmc/libpldm"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
SRCREV = "4e1ba8a736a4272e15f8e4541858407821d6b59e"
-LIBPLDM_ABI_STABLE = "deprecated,stable"
-LIBPLDM_ABI_TESTING = "deprecated,stable,testing"
-PACKAGECONFIG[abi-testing] = "-Dabi=${LIBPLDM_ABI_TESTING},-Dabi=${LIBPLDM_ABI_STABLE},,"
+LIBPLDM_ABI_DEVELOPMENT = "deprecated,stable,testing"
+LIBPLDM_ABI_MAINTENANCE = "stable,testing"
+LIBPLDM_ABI_PRODUCTION = "deprecated,stable"
+PACKAGECONFIG ??= "abi-production"
+PACKAGECONFIG[abi-development] = "-Dabi=${LIBPLDM_ABI_DEVELOPMENT},,,"
+PACKAGECONFIG[abi-maintenance] = "-Dabi=${LIBPLDM_ABI_MAINTENANCE},,,"
+PACKAGECONFIG[abi-production] = "-Dabi=${LIBPLDM_ABI_PRODUCTION},,,"
PACKAGECONFIG[oem-ibm] = "-Doem-ibm=enabled,-Doem-ibm=disabled,,"
PV = "git${SRCPV}"