blob: d6e8e17bbcc7f12996b33fee463abe5694d4852a [file] [log] [blame]
Chris Austenf7cefb12015-11-01 22:27:34 -06001SUMMARY = "Phosphor OpenBMC WriteFRU for OpenPOWER systems"
2DESCRIPTION = "Phosphor OpenBMC WriteFRU for OpenPOWER based systems"
3HOMEPAGE = "https://github.com/openbmc/ipmi-fru-parser"
4PR = "r1"
5
Chris Austenf7cefb12015-11-01 22:27:34 -06006inherit obmc-phosphor-license
Brad Bishop0fe80462016-08-17 20:27:37 -04007inherit obmc-phosphor-systemd
Chris Austenf7cefb12015-11-01 22:27:34 -06008
Brad Bishopdd2e4fa2016-06-13 12:53:41 -04009DEPENDS += " \
10 systemd \
11 host-ipmid \
12 "
Chris Austenf7cefb12015-11-01 22:27:34 -060013
14RDEPENDS_${PN} += "libsystemd"
15
Patrick Williams805d4db2016-08-30 15:17:16 -050016TARGET_CXXFLAGS += " -fpic -std=gnu++14"
Patrick Williams8592c8c2016-08-30 12:30:23 -050017TARGET_CFLAGS += " -fpic"
Brad Bishop0fe80462016-08-17 20:27:37 -040018SYSTEMD_SERVICE_${PN} += "obmc-read-eeprom@.service"
Chris Austenf7cefb12015-11-01 22:27:34 -060019
20SRC_URI += "git://github.com/openbmc/ipmi-fru-parser"
21
Patrick Williams90f35fd2016-10-19 22:20:03 -050022SRCREV = "155c34fbb61071f5b51240c4a50b49391e0877c1"
Chris Austenf7cefb12015-11-01 22:27:34 -060023
Brad Bishop431d5982016-06-13 15:39:56 -040024FILES_SOLIBSDEV += "${libdir}/host-ipmid/lib*${SOLIBSDEV}"
25FILES_${PN} += "${libdir}/host-ipmid/lib*${SOLIBS}"
26FILES_${PN}-dbg += "${libdir}/host-ipmid/.debug/lib*${SOLIBS}"
Chris Austenf7cefb12015-11-01 22:27:34 -060027
28S = "${WORKDIR}/git"
29
Chris Austen652fee82015-11-24 22:04:53 -060030do_install() {
Brad Bishopdd2e4fa2016-06-13 12:53:41 -040031 oe_runmake install DESTDIR=${D} LIBDIR=${libdir} BINDIR=${sbindir}
Chris Austenf7cefb12015-11-01 22:27:34 -060032}