summaryrefslogtreecommitdiff
path: root/meta-inspur
diff options
context:
space:
mode:
authorGeorge Liu <liuxiwei@inspur.com>2021-06-28 09:09:34 +0300
committerGeorge Liu <liuxiwei@inspur.com>2021-07-08 06:28:13 +0300
commit42f37fd54be92487849d1337bd0ef2482e20f7d6 (patch)
treecb22649054bbfaf9d23b316fdafa395aca8e074a /meta-inspur
parentca891efde81332f2aaf1048e2f35020b093e934e (diff)
downloadopenbmc-42f37fd54be92487849d1337bd0ef2482e20f7d6.tar.xz
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
Diffstat (limited to 'meta-inspur')
-rw-r--r--meta-inspur/meta-fp5280g2/recipes-phosphor/mctp/mctp/mctp2
-rw-r--r--meta-inspur/meta-fp5280g2/recipes-phosphor/mctp/mctp_%.bbappend8
2 files changed, 10 insertions, 0 deletions
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 000000000..2d5f2465e
--- /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 000000000..b27014bb1
--- /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
+}