blob: 6fa5c282fb0cdf9567b3ec4e368c9191c285209a [file] [log] [blame]
Chris Austen24d2ffa2015-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 Austen24d2ffa2015-11-05 20:18:09 -06007inherit obmc-phosphor-license
8
9DEPENDS += "systemd \
Brad Bishoped1119d2016-09-08 17:06:59 -040010 host-ipmid \
11 "
Chris Austen24d2ffa2015-11-05 20:18:09 -060012
Brad Bishoped1119d2016-09-08 17:06:59 -040013RDEPENDS_${PN} += "libsystemd \
14 libcrypto \
Brad Bishopa39772f2016-09-08 17:09:18 -040015 virtual-obmc-host-ipmi-hw \
Chris Austen24d2ffa2015-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 Bishoped1119d2016-09-08 17:06:59 -040028 ${S}/bootstrap --enable-intf-dbus
29 ${S}/configure --host x86_64
30 make
Chris Austen24d2ffa2015-11-05 20:18:09 -060031}
32
Brad Bishoped1119d2016-09-08 17:06:59 -040033do_install() {
34 install -m 0755 -d ${D}${sbindir}
35 install -m 0755 ${S}/src/ipmitool ${D}${sbindir}
Chris Austen24d2ffa2015-11-05 20:18:09 -060036}