blob: 2b397aa1fef4715c27bcdc95c16fa9c7cd857652 [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
Brad Bishop09ad8982016-09-06 22:02:03 -04007RRECOMMENDS_${PN} = "virtual-obmc-host-ipmi-hw"
Chris Austen24d2ffa2015-11-05 20:18:09 -06008
9inherit obmc-phosphor-license
10
11DEPENDS += "systemd \
Brad Bishoped1119d2016-09-08 17:06:59 -040012 host-ipmid \
13 "
Chris Austen24d2ffa2015-11-05 20:18:09 -060014
Brad Bishoped1119d2016-09-08 17:06:59 -040015RDEPENDS_${PN} += "libsystemd \
16 libcrypto \
Chris Austen24d2ffa2015-11-05 20:18:09 -060017 "
18
19
20SRC_URI += "git://github.com/openbmc/ipmitool"
21
22SRCREV = "e9b9c1a9677a3de19726d036cfb07d8d61bbccd8"
23
24
25S = "${WORKDIR}/git"
26
27
28do_compile() {
Brad Bishoped1119d2016-09-08 17:06:59 -040029 ${S}/bootstrap --enable-intf-dbus
30 ${S}/configure --host x86_64
31 make
Chris Austen24d2ffa2015-11-05 20:18:09 -060032}
33
Brad Bishoped1119d2016-09-08 17:06:59 -040034do_install() {
35 install -m 0755 -d ${D}${sbindir}
36 install -m 0755 ${S}/src/ipmitool ${D}${sbindir}
Chris Austen24d2ffa2015-11-05 20:18:09 -060037}