meta-phosphor: obmc-apps: add pldm to dmtf-pmci packagegroup
Leverage the pldm and mctp DISTRO_FEATURE to simplify the selection of
the 'mctp' package and include the 'pldm' package when appropriate.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Iff3ca0809ae4afe4aa650c70bc74ba6f31e04538
diff --git a/meta-phosphor/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb b/meta-phosphor/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb
index 48b4816..ea44786 100644
--- a/meta-phosphor/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb
+++ b/meta-phosphor/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb
@@ -200,9 +200,9 @@
"
SUMMARY:${PN}-dmtf-pmci = "DMTF PMCI Protocol Implementations"
-RDEPENDS:${PN}-dmtf-pmci = " \
- ${@bb.utils.contains('DISTRO_FEATURES', 'mctp', 'mctp', '', d)} \
- "
+RDEPENDS:${PN}-dmtf-pmci = ""
+RDEPENDS:${PN}-dmtf-pmci:append:df-pldm = " pldm"
+RDEPENDS:${PN}-dmtf-pmci:append:df-mctp = " mctp"
SUMMARY:${PN}-webui = "Web User Interface support"
RDEPENDS:${PN}-webui = "webui-vue"