vishwabmc | 2ac6f93 | 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 | 9d3325a | 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 | 9ec4c25 | 2015-10-19 00:11:23 -0400 | [diff] [blame] | 10 | |
vishwabmc | 2ac6f93 | 2015-10-09 15:51:50 +0530 | [diff] [blame] | 11 | inherit obmc-phosphor-license |
Patrick Williams | 89b11a1 | 2015-10-15 15:20:20 -0500 | [diff] [blame] | 12 | inherit obmc-phosphor-sdbus-service |
Brad Bishop | c90f8f3 | 2015-10-18 22:35:24 -0400 | [diff] [blame] | 13 | inherit obmc-phosphor-c-daemon |
vishwabmc | 2ac6f93 | 2015-10-09 15:51:50 +0530 | [diff] [blame] | 14 | |
Chris Austen | f6d294d | 2016-01-23 18:00:11 -0600 | [diff] [blame] | 15 | TARGET_CFLAGS += "-fpic" |
| 16 | |
Brad Bishop | ea4022a | 2016-07-26 15:52:01 -0400 | [diff] [blame] | 17 | DEPENDS += "obmc-mapper" |
Brad Bishop | 75076ec | 2016-08-12 15:36:58 -0400 | [diff] [blame^] | 18 | RDEPENDS_${PN}-dev += "obmc-mapper-dev" |
Milton D. Miller II | b8c5174 | 2016-03-04 15:29:29 -0600 | [diff] [blame] | 19 | RDEPENDS_${PN} += "clear-once" |
Adriana Kobylak | e2374b0 | 2016-01-30 08:53:35 -0600 | [diff] [blame] | 20 | RDEPENDS_${PN} += "settings" |
Adriana Kobylak | 30ca4fc | 2016-01-30 10:41:48 -0600 | [diff] [blame] | 21 | RDEPENDS_${PN} += "network" |
Brad Bishop | ea4022a | 2016-07-26 15:52:01 -0400 | [diff] [blame] | 22 | RDEPENDS_${PN} += "libmapper" |
vishwabmc | 2ac6f93 | 2015-10-09 15:51:50 +0530 | [diff] [blame] | 23 | SRC_URI += "git://github.com/openbmc/phosphor-host-ipmid" |
| 24 | |
Patrick Williams | 3f95ab7 | 2016-08-13 09:04:07 -0500 | [diff] [blame] | 25 | SRCREV = "bc40c178bb0b345ed1edf553b94369330003af34" |
Chris Austen | 9d3325a | 2015-10-24 19:34:11 -0500 | [diff] [blame] | 26 | |
vishwabmc | 2ac6f93 | 2015-10-09 15:51:50 +0530 | [diff] [blame] | 27 | S = "${WORKDIR}/git" |
Brad Bishop | c90f8f3 | 2015-10-18 22:35:24 -0400 | [diff] [blame] | 28 | INSTALL_NAME = "ipmid" |
vishwabmc | 2ac6f93 | 2015-10-09 15:51:50 +0530 | [diff] [blame] | 29 | |
| 30 | do_install() { |
Patrick Williams | 89b11a1 | 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 | 2ac6f93 | 2015-10-09 15:51:50 +0530 | [diff] [blame] | 36 | } |