blob: 8b986e6bce54f1ff00c96405ca04e34001709474 [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
Brad Bishop7ee71462016-08-19 09:02:54 -05006RRECOMMENDS_${PN} += "packagegroup-obmc-ipmid-providers-libs"
Chris Austen213cd2a2015-10-24 19:34:11 -05007
Matthew Barth302592f2016-08-16 16:51:35 -05008inherit autotools pkgconfig
vishwabmc1bf499d2015-10-09 15:51:50 +05309inherit obmc-phosphor-license
Patrick Williamsf7714062015-10-15 15:20:20 -050010inherit obmc-phosphor-sdbus-service
vishwabmc1bf499d2015-10-09 15:51:50 +053011
Brad Bishop1122eb02016-10-05 20:10:23 -040012DEPENDS += "phosphor-mapper"
Matthew Barth302592f2016-08-16 16:51:35 -050013DEPENDS += "autoconf-archive-native"
Brad Bishop1122eb02016-10-05 20:10:23 -040014RDEPENDS_${PN}-dev += "phosphor-mapper-dev"
Milton D. Miller II611e3ff2016-03-04 15:29:29 -060015RDEPENDS_${PN} += "clear-once"
Adriana Kobylak8f2f3b32016-01-30 10:41:48 -060016RDEPENDS_${PN} += "network"
Brad Bishop9a701b42016-07-26 15:52:01 -040017RDEPENDS_${PN} += "libmapper"
Vishwanatha Subbanna78bc5422016-11-10 21:52:46 +053018RDEPENDS_${PN} += "phosphor-time-manager"
Adriana Kobylak79841ae2016-08-25 10:07:34 -050019RRECOMMENDS_${PN} += "virtual-obmc-settings-mgmt"
vishwabmc1bf499d2015-10-09 15:51:50 +053020SRC_URI += "git://github.com/openbmc/phosphor-host-ipmid"
21
Patrick Williams6c789722017-01-04 11:20:03 -060022SRCREV = "a640b775491bff926ac759ffd6e13ec2bcc80d26"
Chris Austen213cd2a2015-10-24 19:34:11 -050023
vishwabmc1bf499d2015-10-09 15:51:50 +053024S = "${WORKDIR}/git"
25
Matthew Barth302592f2016-08-16 16:51:35 -050026FILES_${PN}_append = " ${libdir}/host-ipmid/lib*${SOLIBS}"
27FILES_${PN}-dev_append = " ${libdir}/host-ipmid/lib*${SOLIBSDEV} ${libdir}/host-ipmid/*.la"
Brad Bishop3b524cf2016-09-06 13:03:39 -040028
29DBUS_SERVICE_${PN} += "org.openbmc.HostServices.service"
Andrew Geisslerafc510f2017-01-04 11:11:50 -060030
31# Soft Power Off
32RDEPENDS_${PN} += "phosphor-mapper"
33
34TMPL = "op-stop-host@.service"
35INSTFMT = "op-stop-host@{0}.service"
36TGTFMT = "obmc-stop-host@{0}.target"
37FMT = "../${TMPL}:${TGTFMT}.wants/${INSTFMT}"
38
39SYSTEMD_SERVICE_${PN} += "${TMPL}"
40SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT', 'OBMC_HOST_INSTANCES')}"