Patrick Venture | 6dd5cc9 | 2018-11-09 18:27:28 -0800 | [diff] [blame] | 1 | HOMEPAGE = "http://github.com/openbmc/phosphor-ipmi-flash" |
| 2 | SUMMARY = "Phosphor OEM IPMI In-band Firmware Update over BLOB" |
| 3 | DESCRIPTION = "This package handles a series of OEM IPMI commands that implement the firmware update handler over the BLOB protocol." |
| 4 | PR = "r1" |
Patrick Venture | 24d981d | 2019-06-28 15:34:15 -0700 | [diff] [blame] | 5 | PV = "1.0+git${SRCPV}" |
Patrick Venture | 6dd5cc9 | 2018-11-09 18:27:28 -0800 | [diff] [blame] | 6 | LICENSE = "Apache-2.0" |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" |
| 8 | |
| 9 | inherit autotools pkgconfig |
| 10 | inherit obmc-phosphor-ipmiprovider-symlink |
| 11 | |
| 12 | DEPENDS += "autoconf-archive-native" |
| 13 | DEPENDS += "phosphor-ipmi-blobs" |
| 14 | DEPENDS += "phosphor-logging" |
| 15 | DEPENDS += "sdbusplus" |
Patrick Venture | a9f19bd | 2019-03-07 10:51:53 -0800 | [diff] [blame] | 16 | DEPENDS += "ipmi-blob-tool" |
Patrick Venture | a26ccf5 | 2019-05-03 10:35:28 -0700 | [diff] [blame] | 17 | DEPENDS += "pciutils" |
Patrick Venture | 6dd5cc9 | 2018-11-09 18:27:28 -0800 | [diff] [blame] | 18 | |
Andrew Geissler | 79ca37b | 2019-06-19 18:52:19 +0000 | [diff] [blame] | 19 | PACKAGECONFIG ?= "cleanup-delete" |
| 20 | PACKAGECONFIG[cleanup-delete] = "--enable-cleanup-delete, --disable-cleanup-delete" |
Patrick Venture | e4c6407 | 2019-06-28 19:28:28 -0700 | [diff] [blame^] | 21 | # If using static-layout, reboot-update is a good option to handle updating. |
| 22 | PACKAGECONFIG[reboot-update] = "--enable-reboot-update, --disable-reboot-update" |
Andrew Geissler | 79ca37b | 2019-06-19 18:52:19 +0000 | [diff] [blame] | 23 | |
Patrick Venture | 51c0f09 | 2019-05-15 12:19:16 -0700 | [diff] [blame] | 24 | EXTRA_OECONF = "--disable-tests --disable-build-host-tool" |
| 25 | |
Patrick Venture | 6dd5cc9 | 2018-11-09 18:27:28 -0800 | [diff] [blame] | 26 | S = "${WORKDIR}/git" |
| 27 | SRC_URI = "git://github.com/openbmc/phosphor-ipmi-flash" |
Andrew Geissler | 5be9493 | 2019-07-03 18:31:13 +0000 | [diff] [blame] | 28 | SRCREV = "33311b47b3b656cfc16568b4b971730cb79130bc" |
Patrick Venture | 6dd5cc9 | 2018-11-09 18:27:28 -0800 | [diff] [blame] | 29 | |
| 30 | FILES_${PN}_append = " ${libdir}/ipmid-providers/lib*${SOLIBS}" |
| 31 | FILES_${PN}_append = " ${libdir}/blob-ipmid/lib*${SOLIBS}" |
| 32 | FILES_${PN}-dev_append = " ${libdir}/ipmid-providers/lib*${SOLIBSDEV} ${libdir}/ipmid-providers/*.la" |
| 33 | |
| 34 | BLOBIPMI_PROVIDER_LIBRARY += "libfirmwareblob.so" |
Andrew Geissler | 79ca37b | 2019-06-19 18:52:19 +0000 | [diff] [blame] | 35 | BLOBIPMI_PROVIDER_LIBRARY += "${@bb.utils.contains('PACKAGECONFIG', 'cleanup-delete', 'libfirmwarecleanupblob.so', '', d)}" |
Patrick Venture | 3c1a03b | 2019-05-08 07:43:10 -0700 | [diff] [blame] | 36 | |
| 37 | do_configure[depends] += "virtual/kernel:do_shared_workdir" |