Chris Austen | 764ae43 | 2015-11-01 22:27:34 -0600 | [diff] [blame] | 1 | SUMMARY = "Phosphor OpenBMC WriteFRU for OpenPOWER systems" |
| 2 | DESCRIPTION = "Phosphor OpenBMC WriteFRU for OpenPOWER based systems" |
| 3 | HOMEPAGE = "https://github.com/openbmc/ipmi-fru-parser" |
| 4 | PR = "r1" |
| 5 | |
| 6 | RRECOMMENDS_${PN} = "virtual/obmc-phosphor-host-ipmi-hw" |
| 7 | |
| 8 | inherit obmc-phosphor-license |
| 9 | |
| 10 | DEPENDS += "systemd \ |
| 11 | host-ipmid \ |
| 12 | " |
| 13 | |
| 14 | |
| 15 | RDEPENDS_${PN} += "libsystemd" |
| 16 | |
| 17 | TARGET_CFLAGS += "-std=gnu++14" |
| 18 | |
| 19 | SRC_URI += "git://github.com/openbmc/ipmi-fru-parser" |
| 20 | |
Chris Austen | 64e8e17 | 2016-01-13 15:28:59 -0600 | [diff] [blame^] | 21 | SRCREV = "63696f4b23c9fd0a84ce539a6414ada406aaf229" |
Chris Austen | 764ae43 | 2015-11-01 22:27:34 -0600 | [diff] [blame] | 22 | |
| 23 | FILES_${PN} += "${libdir}/host-ipmid/*.so" |
| 24 | FILES_${PN}-dbg += "${libdir}/host-ipmid/.debug" |
| 25 | |
| 26 | S = "${WORKDIR}/git" |
| 27 | |
Chris Austen | 7a8bc40 | 2015-11-24 22:04:53 -0600 | [diff] [blame] | 28 | do_install() { |
| 29 | oe_runmake install DESTDIR=${D} LIBDIR=${libdir} BINDIR=${sbindir} |
Chris Austen | 764ae43 | 2015-11-01 22:27:34 -0600 | [diff] [blame] | 30 | } |
Chris Austen | 7a8bc40 | 2015-11-24 22:04:53 -0600 | [diff] [blame] | 31 | |
| 32 | |
| 33 | # install -m 0755 -d ${D}${libdir}/host-ipmid |
Chris Austen | 64e8e17 | 2016-01-13 15:28:59 -0600 | [diff] [blame^] | 34 | # install -m 0755 ${S}/*.so ${D}${libdir}/host-ipmid/ |