blob: 8f390f5543e8c80955e278a46b95571fb20e2c04 [file] [log] [blame]
Ed Tanousfe41c382019-01-11 16:26:13 -08001FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
2
3DEPENDS += "systemd"
4
Vernon Maueryc89d95e2019-04-23 15:31:51 -07005SRC_URI = "git://github.com/ipmitool/ipmitool.git;protocol=https"
Vernon Mauery0b4708b2020-03-04 11:02:02 -08006SRCREV = "c3939dac2c060651361fc71516806f9ab8c38901"
Vernon Maueryc89d95e2019-04-23 15:31:51 -07007
Vernon Mauery0b4708b2020-03-04 11:02:02 -08008# TODO: when a new company joins the OpenBMC project by signing
9# a CLA, if they have an enterprise number on file with the
10# IANA, the versioned file, $PWD/ipmitool/enterprise-numbers
11# needs to be updated to add their entry. The canonical
12# version of the file is locatede here:
13# https://www.iana.org/assignments/enterprise-numbers
14#
15# This file is manually downloaded so it can be versioned
16# instead of having the makefile download it during do_compile
Vernon Maueryc89d95e2019-04-23 15:31:51 -070017SRC_URI += " \
Vernon Mauery0b4708b2020-03-04 11:02:02 -080018 file://enterprise-numbers \
Vernon Maueryc89d95e2019-04-23 15:31:51 -070019 "
20
Vernon Mauery0b4708b2020-03-04 11:02:02 -080021# make sure that the enterprise-numbers file gets installed in the root FS
22FILES_${PN} += "/usr/share/misc/enterprise-numbers"
23do_compile_prepend() {
24 # copy the SRC_URI version of enterprise-numbers
25 # to the build dir to prevent a fetch
26 cp "${WORKDIR}/enterprise-numbers" "${WORKDIR}/build/enterprise-numbers"
27}
28
Vernon Maueryc89d95e2019-04-23 15:31:51 -070029S = "${WORKDIR}/git"
30LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=9aa91e13d644326bf281924212862184"
31
Yong Li9bef7802019-12-05 12:40:24 +080032EXTRA_OECONF_append = " --disable-ipmishell --enable-intf-dbus DEFAULT_INTF=dbus "
Vernon Maueryc89d95e2019-04-23 15:31:51 -070033
34PV = "1.8.18+git${SRCPV}"