blob: e94b80a75cda45f983c78b36e82bb832490e52ce [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"
Patrick Ventured22dd8a2018-10-05 15:45:41 -07005PV = "1.0+git${SRCPV}"
Brad Bishop75f03872018-11-03 09:41:57 -07006LICENSE = "BSD-3-Clause"
7LIC_FILES_CHKSUM = "file://COPYING;md5=9aa91e13d644326bf281924212862184"
Chris Austen24d2ffa2015-11-05 20:18:09 -06008
9DEPENDS += "systemd \
Brad Bishopceb1c9a2017-01-17 10:07:14 -050010 phosphor-ipmi-host \
Brad Bishoped1119d2016-09-08 17:06:59 -040011 "
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
Vernon Mauerye58c62f2018-07-23 12:05:08 -070021SRCREV = "dfdfd89ec9b36c115a98f589880fd757a162af19"
Chris Austen24d2ffa2015-11-05 20:18:09 -060022
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}