vishwabmc | 1bf499d | 2015-10-09 15:51:50 +0530 | [diff] [blame] | 1 | SUMMARY = "Phosphor OpenBMC IPMI daemon" |
| 2 | DESCRIPTION = "Phosphor OpenBMC IPMI router and plugin libraries" |
| 3 | HOMEPAGE = "http://github.com/openbmc/phosphor-host-ipmid" |
| 4 | PR = "r1" |
| 5 | |
Chris Austen | 213cd2a | 2015-10-24 19:34:11 -0500 | [diff] [blame] | 6 | RRECOMMENDS_${PN} += "virtual/obmc-phosphor-host-ipmi-hw" |
| 7 | |
| 8 | RRECOMMENDS_${PN} += "${VIRTUAL-RUNTIME_obmc-phosphor-ipmi-parsers}" |
| 9 | |
Brad Bishop | 437bb9a | 2015-10-19 00:11:23 -0400 | [diff] [blame] | 10 | |
vishwabmc | 1bf499d | 2015-10-09 15:51:50 +0530 | [diff] [blame] | 11 | inherit obmc-phosphor-license |
Patrick Williams | f771406 | 2015-10-15 15:20:20 -0500 | [diff] [blame] | 12 | inherit obmc-phosphor-sdbus-service |
Brad Bishop | a940112 | 2015-10-18 22:35:24 -0400 | [diff] [blame] | 13 | inherit obmc-phosphor-c-daemon |
vishwabmc | 1bf499d | 2015-10-09 15:51:50 +0530 | [diff] [blame] | 14 | |
Chris Austen | 254cb56 | 2016-01-23 18:00:11 -0600 | [diff] [blame] | 15 | TARGET_CFLAGS += "-fpic" |
| 16 | |
Brad Bishop | 9a701b4 | 2016-07-26 15:52:01 -0400 | [diff] [blame] | 17 | DEPENDS += "obmc-mapper" |
Brad Bishop | 76756df | 2016-08-12 15:36:58 -0400 | [diff] [blame] | 18 | RDEPENDS_${PN}-dev += "obmc-mapper-dev" |
Milton D. Miller II | 611e3ff | 2016-03-04 15:29:29 -0600 | [diff] [blame] | 19 | RDEPENDS_${PN} += "clear-once" |
Adriana Kobylak | 2ca101c | 2016-01-30 08:53:35 -0600 | [diff] [blame] | 20 | RDEPENDS_${PN} += "settings" |
Adriana Kobylak | 8f2f3b3 | 2016-01-30 10:41:48 -0600 | [diff] [blame] | 21 | RDEPENDS_${PN} += "network" |
Brad Bishop | 9a701b4 | 2016-07-26 15:52:01 -0400 | [diff] [blame] | 22 | RDEPENDS_${PN} += "libmapper" |
vishwabmc | 1bf499d | 2015-10-09 15:51:50 +0530 | [diff] [blame] | 23 | SRC_URI += "git://github.com/openbmc/phosphor-host-ipmid" |
| 24 | |
Patrick Williams | 17005e6 | 2016-08-13 09:04:07 -0500 | [diff] [blame] | 25 | SRCREV = "bc40c178bb0b345ed1edf553b94369330003af34" |
Chris Austen | 213cd2a | 2015-10-24 19:34:11 -0500 | [diff] [blame] | 26 | |
vishwabmc | 1bf499d | 2015-10-09 15:51:50 +0530 | [diff] [blame] | 27 | S = "${WORKDIR}/git" |
Brad Bishop | a940112 | 2015-10-18 22:35:24 -0400 | [diff] [blame] | 28 | INSTALL_NAME = "ipmid" |
vishwabmc | 1bf499d | 2015-10-09 15:51:50 +0530 | [diff] [blame] | 29 | |
| 30 | do_install() { |
Patrick Williams | f771406 | 2015-10-15 15:20:20 -0500 | [diff] [blame] | 31 | install -m 0755 -d ${D}${libdir}/host-ipmid |
| 32 | install -m 0755 ${S}/*.so ${D}${libdir}/host-ipmid/ |
| 33 | |
| 34 | install -m 0755 -d ${D}${includedir}/host-ipmid |
| 35 | install -m 0644 ${S}/ipmid-api.h ${D}${includedir}/host-ipmid/ |
vishwabmc | 1bf499d | 2015-10-09 15:51:50 +0530 | [diff] [blame] | 36 | } |