fp5280g2: Add libmctp configs
Add libmctp configs for fp5280g2, and use `astlpc` as
the startup parameter of the process.
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: Id8737a745beb426b115522e75e0f434cadcbc253
diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/mctp/mctp/mctp b/meta-inspur/meta-fp5280g2/recipes-phosphor/mctp/mctp/mctp
new file mode 100644
index 0000000..2d5f246
--- /dev/null
+++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/mctp/mctp/mctp
@@ -0,0 +1,2 @@
+DEMUX_BINDING_OPTS=astlpc
+
diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/mctp/mctp_%.bbappend b/meta-inspur/meta-fp5280g2/recipes-phosphor/mctp/mctp_%.bbappend
new file mode 100644
index 0000000..b27014b
--- /dev/null
+++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/mctp/mctp_%.bbappend
@@ -0,0 +1,8 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+SRC_URI += "file://mctp"
+
+do_install_append() {
+ install -d ${D}${sysconfdir}/default
+ install -m 0644 ${WORKDIR}/mctp ${D}${sysconfdir}/default/mctp
+}