blob: 68bd38bb3683871153a4b3bfff46ad3b866a0b55 [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
Adriana Kobylak2ca101c2016-01-30 08:53:35 -060017RDEPENDS_${PN} += "settings"
Adriana Kobylak8f2f3b32016-01-30 10:41:48 -060018RDEPENDS_${PN} += "network"
vishwabmc1bf499d2015-10-09 15:51:50 +053019SRC_URI += "git://github.com/openbmc/phosphor-host-ipmid"
20
Adriana Kobylakf1cd2b52016-02-11 16:31:21 -060021SRCREV = "5d8c424a5c125b3cc5dcf67238e174b9dcaf22e6"
Chris Austen213cd2a2015-10-24 19:34:11 -050022
vishwabmc1bf499d2015-10-09 15:51:50 +053023S = "${WORKDIR}/git"
Brad Bishopa9401122015-10-18 22:35:24 -040024INSTALL_NAME = "ipmid"
vishwabmc1bf499d2015-10-09 15:51:50 +053025
26do_install() {
Patrick Williamsf7714062015-10-15 15:20:20 -050027 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/
vishwabmc1bf499d2015-10-09 15:51:50 +053032}