meta-ibm: packagegroup-obmc-apps: p10bmc requires libmctp

libmctp provides the MCTP implementation for communication between the
host and the BMC.

Change-Id: I6ae5a23fbb34c27db16a152afefb79ca6a649759
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/meta-ibm/recipes-phosphor/mctp/files/p10bmc/mctp b/meta-ibm/recipes-phosphor/mctp/files/p10bmc/mctp
new file mode 100644
index 0000000..f906220
--- /dev/null
+++ b/meta-ibm/recipes-phosphor/mctp/files/p10bmc/mctp
@@ -0,0 +1 @@
+DEMUX_BINDING_OPTS=astlpc
diff --git a/meta-ibm/recipes-phosphor/mctp/files/witherspoon-tacoma/mctp b/meta-ibm/recipes-phosphor/mctp/files/witherspoon-tacoma/mctp
new file mode 100644
index 0000000..f906220
--- /dev/null
+++ b/meta-ibm/recipes-phosphor/mctp/files/witherspoon-tacoma/mctp
@@ -0,0 +1 @@
+DEMUX_BINDING_OPTS=astlpc
diff --git a/meta-ibm/recipes-phosphor/mctp/mctp_%.bbappend b/meta-ibm/recipes-phosphor/mctp/mctp_%.bbappend
new file mode 100644
index 0000000..fa838e3
--- /dev/null
+++ b/meta-ibm/recipes-phosphor/mctp/mctp_%.bbappend
@@ -0,0 +1,4 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+
+SRC_URI_append_p10bmc = " file://mctp"
+SRC_URI_append_witherspoon-tacoma = " file://mctp"
diff --git a/meta-ibm/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend b/meta-ibm/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend
index 0469c86..7cd4cd2 100644
--- a/meta-ibm/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend
+++ b/meta-ibm/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend
@@ -29,7 +29,7 @@
 RDEPENDS_${PN}-fan-control_append_p10bmc = " fan-watchdog sensor-monitor"
 RDEPENDS_${PN}-extras_append_ibm-ac-server = " ${POWER_SERVICE_PACKAGES_AC_SERVER} witherspoon-power-supply-sync phosphor-webui"
 RDEPENDS_${PN}-extras_append_p10bmc = " ${POWER_SERVICE_PACKAGES_P10} webui-vue dbus-sensors phosphor-virtual-sensor kexec-tools makedumpfile kdump vmcore-dmesg"
-RDEPENDS_${PN}-extras_append_p10bmc = " pldm openpower-hw-diags srvcfg-manager biosconfig-manager phosphor-post-code-manager phosphor-host-postd debug-trigger"
+RDEPENDS_${PN}-extras_append_p10bmc = " pldm openpower-hw-diags srvcfg-manager biosconfig-manager phosphor-post-code-manager phosphor-host-postd debug-trigger mctp"
 RDEPENDS_${PN}-extras_append_mihawk = " phosphor-webui phosphor-image-signing wistron-ipmi-oem ${POWER_SERVICE_PACKAGES_AC_SERVER}"
 RDEPENDS_${PN}-extras_append_witherspoon-tacoma = " pldm srvcfg-manager webui-vue biosconfig-manager phosphor-post-code-manager phosphor-host-postd kexec-tools makedumpfile kdump vmcore-dmesg"