summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/libpldm
diff options
context:
space:
mode:
Diffstat (limited to 'meta-phosphor/recipes-phosphor/libpldm')
-rw-r--r--meta-phosphor/recipes-phosphor/libpldm/libpldm_git.bb10
1 files changed, 7 insertions, 3 deletions
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}"