blob: 0d69af164349e56333c203a2e2605fc27eb56356 [file] [log] [blame]
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
inherit obmc-phosphor-systemd
DEPENDS += " \
systemd \
host-ipmid \
"
RDEPENDS_${PN} += "libsystemd"
TARGET_CXXFLAGS += " -fpic -std=gnu++14"
TARGET_CFLAGS += " -fpic"
SYSTEMD_SERVICE_${PN} += "obmc-read-eeprom@.service"
SRC_URI += "git://github.com/openbmc/ipmi-fru-parser"
SRCREV = "619db930483505aa4352b8ae30d6c6b5a9b569cf"
FILES_SOLIBSDEV += "${libdir}/host-ipmid/lib*${SOLIBSDEV}"
FILES_${PN} += "${libdir}/host-ipmid/lib*${SOLIBS}"
FILES_${PN}-dbg += "${libdir}/host-ipmid/.debug/lib*${SOLIBS}"
S = "${WORKDIR}/git"
do_install() {
oe_runmake install DESTDIR=${D} LIBDIR=${libdir} BINDIR=${sbindir}
}