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 | |
Milton D. Miller II | b8c5174 | 2016-03-04 15:29:29 -0600 | [diff] [blame] | 17 | RDEPENDS_${PN} += "clear-once" |
Adriana Kobylak | e2374b0 | 2016-01-30 08:53:35 -0600 | [diff] [blame] | 18 | RDEPENDS_${PN} += "settings" |
Adriana Kobylak | 30ca4fc | 2016-01-30 10:41:48 -0600 | [diff] [blame] | 19 | RDEPENDS_${PN} += "network" |
vishwabmc | 2ac6f93 | 2015-10-09 15:51:50 +0530 | [diff] [blame] | 20 | SRC_URI += "git://github.com/openbmc/phosphor-host-ipmid" |
| 21 | |
Adriana Kobylak | 75dcd9e | 2016-07-11 10:24:53 -0500 | [diff] [blame] | 22 | SRCREV = "87e080b537aff3fd22ec56ef72660937bed38422" |
Chris Austen | 9d3325a | 2015-10-24 19:34:11 -0500 | [diff] [blame] | 23 | |
vishwabmc | 2ac6f93 | 2015-10-09 15:51:50 +0530 | [diff] [blame] | 24 | S = "${WORKDIR}/git" |
Brad Bishop | c90f8f3 | 2015-10-18 22:35:24 -0400 | [diff] [blame] | 25 | INSTALL_NAME = "ipmid" |
vishwabmc | 2ac6f93 | 2015-10-09 15:51:50 +0530 | [diff] [blame] | 26 | |
| 27 | do_install() { |
Patrick Williams | 89b11a1 | 2015-10-15 15:20:20 -0500 | [diff] [blame] | 28 | install -m 0755 -d ${D}${libdir}/host-ipmid |
| 29 | install -m 0755 ${S}/*.so ${D}${libdir}/host-ipmid/ |
| 30 | |
| 31 | install -m 0755 -d ${D}${includedir}/host-ipmid |
| 32 | install -m 0644 ${S}/ipmid-api.h ${D}${includedir}/host-ipmid/ |
vishwabmc | 2ac6f93 | 2015-10-09 15:51:50 +0530 | [diff] [blame] | 33 | } |