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