summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-tool_git.bb
blob: e94b80a75cda45f983c78b36e82bb832490e52ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
SUMMARY = "Phosphor ipmi tool for injecting ipmi commands"
DESCRIPTION = "IPMI Tool with dbus capabilities"
HOMEPAGE = "https://github.com/openbmc/ipmitool"
PR = "r1"
PV = "1.0+git${SRCPV}"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://COPYING;md5=9aa91e13d644326bf281924212862184"

DEPENDS += "systemd    \
            phosphor-ipmi-host \
            "

RDEPENDS_${PN} += "libsystemd \
                   libcrypto \
                   virtual-obmc-host-ipmi-hw \
                   "


SRC_URI += "git://github.com/openbmc/ipmitool"

SRCREV = "dfdfd89ec9b36c115a98f589880fd757a162af19"


S = "${WORKDIR}/git"


do_compile() {
        ${S}/bootstrap --enable-intf-dbus
        ${S}/configure --host x86_64
        make
}

do_install() {
        install -m 0755 -d ${D}${sbindir}
        install -m 0755 ${S}/src/ipmitool ${D}${sbindir}
}
OpenPOWER on IntegriCloud