inspur: fp5280g2 : Add mctp/pldm packages to fp5280g2

In order to ensure that normal ran of the mctp/pldm, temporarily add
these to the fp5280g2 machine.

Tested: Built successfully on fp5280g2 and mctp/pldm ran well.

(From meta-inspur rev: 82e0a6261199c73158f2244d819c2d9dce4e491b)

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: Ia344ba4467b3334e138f50f8b8c902d052e76315
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/pldm/pldm_%.bbappend b/meta-inspur/meta-fp5280g2/recipes-phosphor/pldm/pldm_%.bbappend
new file mode 100755
index 0000000..5509a3e
--- /dev/null
+++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/pldm/pldm_%.bbappend
@@ -0,0 +1,26 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+EXTRA_OEMESON_append = " \
+        -Doem-ibm=enabled \
+        "
+
+SRC_URI += "file://fileTable.json"
+SRC_URI += "file://bios/enum_attrs.json"
+SRC_URI += "file://bios/integer_attrs.json"
+SRC_URI += "file://bios/string_attrs.json"
+SRC_URI += "file://effecter_pdr.json"
+SRC_URI += "file://FRU_Master.json"
+SRC_URI += "file://host_eid"
+
+do_install_append() {
+        install -d ${D}${datadir}/pldm/bios/
+        install -d ${D}${datadir}/pldm/pdr/
+        install -d ${D}${datadir}/pldm/fru/
+        install -m 0644 ${WORKDIR}/fileTable.json ${D}${datadir}/pldm/
+        install -m 0644 ${WORKDIR}/bios/enum_attrs.json ${D}${datadir}/pldm/bios/
+        install -m 0644 ${WORKDIR}/bios/integer_attrs.json ${D}${datadir}/pldm/bios/
+        install -m 0644 ${WORKDIR}/bios/string_attrs.json ${D}${datadir}/pldm/bios/
+        install -m 0644 ${WORKDIR}/effecter_pdr.json ${D}${datadir}/pldm/pdr/
+        install -m 0644 ${WORKDIR}/FRU_Master.json ${D}${datadir}/pldm/fru/
+        install -m 0644 ${WORKDIR}/host_eid ${D}${datadir}/pldm/
+}