blob: 26e57541bafb25eb1f3d710a1bc8ade23b7d4c62 [file] [log] [blame]
Patrick Venture2ff2ecc2018-11-09 18:27:28 -08001HOMEPAGE = "http://github.com/openbmc/phosphor-ipmi-flash"
2SUMMARY = "Phosphor OEM IPMI In-band Firmware Update over BLOB"
3DESCRIPTION = "This package handles a series of OEM IPMI commands that implement the firmware update handler over the BLOB protocol."
4PR = "r1"
5PV = "0.1+git${SRCPV}"
6LICENSE = "Apache-2.0"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
8
9inherit autotools pkgconfig
10inherit obmc-phosphor-ipmiprovider-symlink
11
12DEPENDS += "autoconf-archive-native"
13DEPENDS += "phosphor-ipmi-blobs"
14DEPENDS += "phosphor-logging"
15DEPENDS += "sdbusplus"
Patrick Venturef0bb2a92019-03-07 10:51:53 -080016DEPENDS += "ipmi-blob-tool"
Patrick Venturecb35b592019-05-03 10:35:28 -070017DEPENDS += "pciutils"
Patrick Venture2ff2ecc2018-11-09 18:27:28 -080018
Andrew Geissler67a224f2019-06-19 18:52:19 +000019PACKAGECONFIG ?= "cleanup-delete"
20PACKAGECONFIG[cleanup-delete] = "--enable-cleanup-delete, --disable-cleanup-delete"
21
Patrick Venturef65a4e22019-05-15 12:19:16 -070022EXTRA_OECONF = "--disable-tests --disable-build-host-tool"
23
Patrick Venture2ff2ecc2018-11-09 18:27:28 -080024S = "${WORKDIR}/git"
25SRC_URI = "git://github.com/openbmc/phosphor-ipmi-flash"
Andrew Geissler67a224f2019-06-19 18:52:19 +000026SRCREV = "380832ccf6d9986cd2e993a6c463da97eadf7997"
Patrick Venture2ff2ecc2018-11-09 18:27:28 -080027
28FILES_${PN}_append = " ${libdir}/ipmid-providers/lib*${SOLIBS}"
29FILES_${PN}_append = " ${libdir}/blob-ipmid/lib*${SOLIBS}"
30FILES_${PN}-dev_append = " ${libdir}/ipmid-providers/lib*${SOLIBSDEV} ${libdir}/ipmid-providers/*.la"
31
32BLOBIPMI_PROVIDER_LIBRARY += "libfirmwareblob.so"
Andrew Geissler67a224f2019-06-19 18:52:19 +000033BLOBIPMI_PROVIDER_LIBRARY += "${@bb.utils.contains('PACKAGECONFIG', 'cleanup-delete', 'libfirmwarecleanupblob.so', '', d)}"
Patrick Venturee21be192019-05-08 07:43:10 -070034
35do_configure[depends] += "virtual/kernel:do_shared_workdir"