blob: 3ed0d7a9b9fa6f42d9575d3bb6a8e44705f15dae [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
Chris Austen254cb562016-01-23 18:00:11 -060017TARGET_CFLAGS += " -fpic -std=gnu++14"
Chris Austenf7cefb12015-11-01 22:27:34 -060018
19SRC_URI += "git://github.com/openbmc/ipmi-fru-parser"
20
Adriana Kobylakbe731de2016-06-18 07:52:44 -050021SRCREV = "a26ed7375261ebcfffa68cf478bcb8f2204c6c92"
Chris Austenf7cefb12015-11-01 22:27:34 -060022
Brad Bishop431d5982016-06-13 15:39:56 -040023FILES_SOLIBSDEV += "${libdir}/host-ipmid/lib*${SOLIBSDEV}"
24FILES_${PN} += "${libdir}/host-ipmid/lib*${SOLIBS}"
25FILES_${PN}-dbg += "${libdir}/host-ipmid/.debug/lib*${SOLIBS}"
Chris Austenf7cefb12015-11-01 22:27:34 -060026
27S = "${WORKDIR}/git"
28
Chris Austen652fee82015-11-24 22:04:53 -060029do_install() {
Brad Bishopdd2e4fa2016-06-13 12:53:41 -040030 oe_runmake install DESTDIR=${D} LIBDIR=${libdir} BINDIR=${sbindir}
Chris Austenf7cefb12015-11-01 22:27:34 -060031}