diff options
author | Chris Austen <austenc@us.ibm.com> | 2015-11-02 07:27:34 +0300 |
---|---|---|
committer | Chris Austen <austenc@us.ibm.com> | 2015-11-02 07:27:34 +0300 |
commit | 764ae4316178be6cef32c5cadafd6e2f982c4936 (patch) | |
tree | be6d445aa0e68c4d18f296a5a993e9978b5ce105 /meta-phosphor/common/recipes-phosphor/host-ipmid | |
parent | 4bd2cbf723a746dfe80a0dded0473a71f7950eed (diff) | |
download | openbmc-764ae4316178be6cef32c5cadafd6e2f982c4936.tar.xz |
Add ipmi fru write to dbus
x
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/host-ipmid')
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-fru.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-fru.bb b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-fru.bb new file mode 100644 index 000000000..a4dcfab3d --- /dev/null +++ b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-fru.bb @@ -0,0 +1,31 @@ +SUMMARY = "Phosphor OpenBMC WriteFRU for OpenPOWER systems" +DESCRIPTION = "Phosphor OpenBMC WriteFRU for OpenPOWER based systems" +HOMEPAGE = "https://github.com/openbmc/ipmi-fru-parser" +PR = "r1" + +RRECOMMENDS_${PN} = "virtual/obmc-phosphor-host-ipmi-hw" + +inherit obmc-phosphor-license + +DEPENDS += "systemd \ + host-ipmid \ + " + + +RDEPENDS_${PN} += "libsystemd" + +TARGET_CFLAGS += "-std=gnu++14" + +SRC_URI += "git://github.com/openbmc/ipmi-fru-parser" + +SRCREV = "675272789d4dba9a8c308f3cb1f7deb8b5b2ec41" + +FILES_${PN} += "${libdir}/host-ipmid/*.so" +FILES_${PN}-dbg += "${libdir}/host-ipmid/.debug" + +S = "${WORKDIR}/git" + +do_install() { + install -m 0755 -d ${D}${libdir}/host-ipmid + install -m 0755 ${S}/*.so ${D}${libdir}/host-ipmid/ +} |