blob: 1828383f07a25cdc37dc5cc940846df14d822116 [file] [log] [blame]
SUMMARY = "Phosphor OpenBMC IPMI daemon"
DESCRIPTION = "Phosphor OpenBMC IPMI router and plugin libraries"
HOMEPAGE = "http://github.com/openbmc/phosphor-host-ipmid"
PR = "r1"
RRECOMMENDS_${PN} += "virtual/obmc-phosphor-host-ipmi-hw"
RRECOMMENDS_${PN} += "${VIRTUAL-RUNTIME_obmc-phosphor-ipmi-parsers}"
inherit obmc-phosphor-license
inherit obmc-phosphor-sdbus-service
inherit obmc-phosphor-c-daemon
TARGET_CFLAGS += "-fpic"
DEPENDS += "obmc-mapper"
RDEPENDS_${PN}-dev += "obmc-mapper-dev"
RDEPENDS_${PN} += "clear-once"
RDEPENDS_${PN} += "settings"
RDEPENDS_${PN} += "network"
RDEPENDS_${PN} += "libmapper"
SRC_URI += "git://github.com/openbmc/phosphor-host-ipmid"
SRCREV = "eb9b814403895d6435e04f02a9ff6c2b1b02cf54"
S = "${WORKDIR}/git"
INSTALL_NAME = "ipmid"
do_install() {
install -m 0755 -d ${D}${libdir}/host-ipmid
install -m 0755 ${S}/*.so ${D}${libdir}/host-ipmid/
install -m 0755 -d ${D}${includedir}/host-ipmid
install -m 0644 ${S}/ipmid-api.h ${D}${includedir}/host-ipmid/
}