blob: 2b1907612c566f7e674ee2a06a64a56f3e71b740 [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
6RRECOMMENDS_${PN} = "virtual/obmc-phosphor-host-ipmi-hw"
7
8inherit obmc-phosphor-license
9
Brad Bishopdd2e4fa2016-06-13 12:53:41 -040010DEPENDS += " \
11 systemd \
12 host-ipmid \
13 "
Chris Austenf7cefb12015-11-01 22:27:34 -060014
15RDEPENDS_${PN} += "libsystemd"
16
Patrick Williams805d4db2016-08-30 15:17:16 -050017TARGET_CXXFLAGS += " -fpic -std=gnu++14"
Patrick Williams8592c8c2016-08-30 12:30:23 -050018TARGET_CFLAGS += " -fpic"
Chris Austenf7cefb12015-11-01 22:27:34 -060019
20SRC_URI += "git://github.com/openbmc/ipmi-fru-parser"
21
Patrick Williamsc7d3e202016-08-30 11:50:02 -050022SRCREV = "619db930483505aa4352b8ae30d6c6b5a9b569cf"
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}