blob: 8dab6715612c24efd1e2fa3256f1bceb1c21b6b6 [file] [log] [blame]
vishwabmc2ac6f932015-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 Austen9d3325a2015-10-24 19:34:11 -05006RRECOMMENDS_${PN} += "virtual/obmc-phosphor-host-ipmi-hw"
7
8RRECOMMENDS_${PN} += "${VIRTUAL-RUNTIME_obmc-phosphor-ipmi-parsers}"
9
Brad Bishop9ec4c252015-10-19 00:11:23 -040010
vishwabmc2ac6f932015-10-09 15:51:50 +053011inherit obmc-phosphor-license
Patrick Williams89b11a12015-10-15 15:20:20 -050012inherit obmc-phosphor-sdbus-service
Brad Bishopc90f8f32015-10-18 22:35:24 -040013inherit obmc-phosphor-c-daemon
vishwabmc2ac6f932015-10-09 15:51:50 +053014
Chris Austenf6d294d2016-01-23 18:00:11 -060015TARGET_CFLAGS += "-fpic"
16
Brad Bishopea4022a2016-07-26 15:52:01 -040017DEPENDS += "obmc-mapper"
Milton D. Miller IIb8c51742016-03-04 15:29:29 -060018RDEPENDS_${PN} += "clear-once"
Adriana Kobylake2374b02016-01-30 08:53:35 -060019RDEPENDS_${PN} += "settings"
Adriana Kobylak30ca4fc2016-01-30 10:41:48 -060020RDEPENDS_${PN} += "network"
Brad Bishopea4022a2016-07-26 15:52:01 -040021RDEPENDS_${PN} += "libmapper"
vishwabmc2ac6f932015-10-09 15:51:50 +053022SRC_URI += "git://github.com/openbmc/phosphor-host-ipmid"
23
Patrick Williams3f95ab72016-08-13 09:04:07 -050024SRCREV = "bc40c178bb0b345ed1edf553b94369330003af34"
Chris Austen9d3325a2015-10-24 19:34:11 -050025
vishwabmc2ac6f932015-10-09 15:51:50 +053026S = "${WORKDIR}/git"
Brad Bishopc90f8f32015-10-18 22:35:24 -040027INSTALL_NAME = "ipmid"
vishwabmc2ac6f932015-10-09 15:51:50 +053028
29do_install() {
Patrick Williams89b11a12015-10-15 15:20:20 -050030 install -m 0755 -d ${D}${libdir}/host-ipmid
31 install -m 0755 ${S}/*.so ${D}${libdir}/host-ipmid/
32
33 install -m 0755 -d ${D}${includedir}/host-ipmid
34 install -m 0644 ${S}/ipmid-api.h ${D}${includedir}/host-ipmid/
vishwabmc2ac6f932015-10-09 15:51:50 +053035}