Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
Ed Tanous | d9aea6f | 2019-01-11 16:26:13 -0800 | [diff] [blame] | 2 | |
| 3 | DEPENDS += "systemd" |
| 4 | |
Vernon Mauery | 5896a23 | 2019-04-23 15:31:51 -0700 | [diff] [blame] | 5 | SRC_URI = "git://github.com/ipmitool/ipmitool.git;protocol=https" |
Vernon Mauery | e0b32cb | 2020-03-04 11:02:02 -0800 | [diff] [blame] | 6 | SRCREV = "c3939dac2c060651361fc71516806f9ab8c38901" |
Vernon Mauery | 5896a23 | 2019-04-23 15:31:51 -0700 | [diff] [blame] | 7 | |
Vernon Mauery | e0b32cb | 2020-03-04 11:02:02 -0800 | [diff] [blame] | 8 | # 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 Mauery | 5896a23 | 2019-04-23 15:31:51 -0700 | [diff] [blame] | 17 | SRC_URI += " \ |
Vernon Mauery | e0b32cb | 2020-03-04 11:02:02 -0800 | [diff] [blame] | 18 | file://enterprise-numbers \ |
Vernon Mauery | 5896a23 | 2019-04-23 15:31:51 -0700 | [diff] [blame] | 19 | " |
| 20 | |
Vernon Mauery | e0b32cb | 2020-03-04 11:02:02 -0800 | [diff] [blame] | 21 | # make sure that the enterprise-numbers file gets installed in the root FS |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 22 | FILES:${PN} += "/usr/share/misc/enterprise-numbers" |
| 23 | do_compile:prepend() { |
Vernon Mauery | e0b32cb | 2020-03-04 11:02:02 -0800 | [diff] [blame] | 24 | # copy the SRC_URI version of enterprise-numbers |
| 25 | # to the build dir to prevent a fetch |
James Feist | 1984127 | 2020-05-01 14:35:25 -0700 | [diff] [blame] | 26 | mkdir -p "${WORKDIR}/build" |
Vernon Mauery | e0b32cb | 2020-03-04 11:02:02 -0800 | [diff] [blame] | 27 | cp "${WORKDIR}/enterprise-numbers" "${WORKDIR}/build/enterprise-numbers" |
| 28 | } |
| 29 | |
Vernon Mauery | 5896a23 | 2019-04-23 15:31:51 -0700 | [diff] [blame] | 30 | S = "${WORKDIR}/git" |
| 31 | LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=9aa91e13d644326bf281924212862184" |
| 32 | |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 33 | EXTRA_OECONF:append = " --disable-ipmishell --enable-intf-dbus DEFAULT_INTF=dbus " |
Vernon Mauery | 5896a23 | 2019-04-23 15:31:51 -0700 | [diff] [blame] | 34 | |
| 35 | PV = "1.8.18+git${SRCPV}" |