blob: c0775d5232b5242b1736370a00c6006ced4504dc [file] [log] [blame]
vishwabmc1bf499d2015-10-09 15:51:50 +05301SUMMARY = "Phosphor OpenBMC IPMI daemon"
2DESCRIPTION = "Phosphor OpenBMC IPMI router and plugin libraries"
3HOMEPAGE = "http://github.com/openbmc/phosphor-host-ipmid"
4PR = "r1"
5
Chris Austen213cd2a2015-10-24 19:34:11 -05006RRECOMMENDS_${PN} += "virtual/obmc-phosphor-host-ipmi-hw"
7
8RRECOMMENDS_${PN} += "${VIRTUAL-RUNTIME_obmc-phosphor-ipmi-parsers}"
9
Brad Bishop437bb9a2015-10-19 00:11:23 -040010
vishwabmc1bf499d2015-10-09 15:51:50 +053011inherit obmc-phosphor-license
Patrick Williamsf7714062015-10-15 15:20:20 -050012inherit obmc-phosphor-sdbus-service
Brad Bishopa9401122015-10-18 22:35:24 -040013inherit obmc-phosphor-c-daemon
vishwabmc1bf499d2015-10-09 15:51:50 +053014
Chris Austen254cb562016-01-23 18:00:11 -060015TARGET_CFLAGS += "-fpic"
16
Brad Bishop9a701b42016-07-26 15:52:01 -040017DEPENDS += "obmc-mapper"
Brad Bishop76756df2016-08-12 15:36:58 -040018RDEPENDS_${PN}-dev += "obmc-mapper-dev"
Milton D. Miller II611e3ff2016-03-04 15:29:29 -060019RDEPENDS_${PN} += "clear-once"
Adriana Kobylak2ca101c2016-01-30 08:53:35 -060020RDEPENDS_${PN} += "settings"
Adriana Kobylak8f2f3b32016-01-30 10:41:48 -060021RDEPENDS_${PN} += "network"
Brad Bishop9a701b42016-07-26 15:52:01 -040022RDEPENDS_${PN} += "libmapper"
vishwabmc1bf499d2015-10-09 15:51:50 +053023SRC_URI += "git://github.com/openbmc/phosphor-host-ipmid"
24
Patrick Williams17005e62016-08-13 09:04:07 -050025SRCREV = "bc40c178bb0b345ed1edf553b94369330003af34"
Chris Austen213cd2a2015-10-24 19:34:11 -050026
vishwabmc1bf499d2015-10-09 15:51:50 +053027S = "${WORKDIR}/git"
Brad Bishopa9401122015-10-18 22:35:24 -040028INSTALL_NAME = "ipmid"
vishwabmc1bf499d2015-10-09 15:51:50 +053029
30do_install() {
Patrick Williamsf7714062015-10-15 15:20:20 -050031 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/
vishwabmc1bf499d2015-10-09 15:51:50 +053036}