blob: 00a652fede2b6926e63ec85379a693cbc859c7a3 [file] [log] [blame]
Chris Austen764ae432015-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 Bishopcbac7fc2016-06-13 12:53:41 -040010DEPENDS += " \
11 systemd \
12 host-ipmid \
13 "
Chris Austen764ae432015-11-01 22:27:34 -060014
15RDEPENDS_${PN} += "libsystemd"
16
Chris Austenf6d294d2016-01-23 18:00:11 -060017TARGET_CFLAGS += " -fpic -std=gnu++14"
Chris Austen764ae432015-11-01 22:27:34 -060018
19SRC_URI += "git://github.com/openbmc/ipmi-fru-parser"
20
Adriana Kobylak24ac9462016-06-09 16:29:45 -050021SRCREV = "2f5a3cfd2412c7e10d128a856ad2c37c8a1b4a10"
Chris Austen764ae432015-11-01 22:27:34 -060022
23FILES_${PN} += "${libdir}/host-ipmid/*.so"
24FILES_${PN}-dbg += "${libdir}/host-ipmid/.debug"
25
26S = "${WORKDIR}/git"
27
Chris Austen7a8bc402015-11-24 22:04:53 -060028do_install() {
Brad Bishopcbac7fc2016-06-13 12:53:41 -040029 oe_runmake install DESTDIR=${D} LIBDIR=${libdir} BINDIR=${sbindir}
Chris Austen764ae432015-11-01 22:27:34 -060030}