blob: edd9a899f009175cd3976ab950ef8680556302ad [file] [log] [blame]
Chris Austen0b14d302015-11-05 20:18:09 -06001SUMMARY = "Phosphor ipmi tool for injecting ipmi commands"
2DESCRIPTION = "IPMI Tool with dbus capabilities"
3HOMEPAGE = "https://github.com/openbmc/ipmitool"
4PR = "r1"
5
6
Chris Austen0b14d302015-11-05 20:18:09 -06007inherit obmc-phosphor-license
8
9DEPENDS += "systemd \
Brad Bishopc30d7bb2017-01-17 10:07:14 -050010 phosphor-ipmi-host \
Brad Bishop1b8e41a2016-09-08 17:06:59 -040011 "
Chris Austen0b14d302015-11-05 20:18:09 -060012
Brad Bishop1b8e41a2016-09-08 17:06:59 -040013RDEPENDS_${PN} += "libsystemd \
14 libcrypto \
Brad Bishopa6ec1d52016-09-08 17:09:18 -040015 virtual-obmc-host-ipmi-hw \
Chris Austen0b14d302015-11-05 20:18:09 -060016 "
17
18
19SRC_URI += "git://github.com/openbmc/ipmitool"
20
21SRCREV = "e9b9c1a9677a3de19726d036cfb07d8d61bbccd8"
22
23
24S = "${WORKDIR}/git"
25
26
27do_compile() {
Brad Bishop1b8e41a2016-09-08 17:06:59 -040028 ${S}/bootstrap --enable-intf-dbus
29 ${S}/configure --host x86_64
30 make
Chris Austen0b14d302015-11-05 20:18:09 -060031}
32
Brad Bishop1b8e41a2016-09-08 17:06:59 -040033do_install() {
34 install -m 0755 -d ${D}${sbindir}
35 install -m 0755 ${S}/src/ipmitool ${D}${sbindir}
Chris Austen0b14d302015-11-05 20:18:09 -060036}