summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-bsp/flashrom/flashrom_1.5.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-bsp/flashrom/flashrom_1.5.1.bb')
-rw-r--r--meta-oe/recipes-bsp/flashrom/flashrom_1.5.1.bb21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-oe/recipes-bsp/flashrom/flashrom_1.5.1.bb b/meta-oe/recipes-bsp/flashrom/flashrom_1.5.1.bb
new file mode 100644
index 0000000000..f7121e2503
--- /dev/null
+++ b/meta-oe/recipes-bsp/flashrom/flashrom_1.5.1.bb
@@ -0,0 +1,21 @@
1DESCRIPTION = "flashrom is a utility for identifying, reading, writing, verifying and erasing flash chips"
2LICENSE = "GPL-2.0-or-later"
3HOMEPAGE = "http://flashrom.org"
4
5LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
6SRC_URI = "https://download.flashrom.org/releases/flashrom-v${PV}.tar.xz \
7 file://0002-meson-Add-options-pciutils-ftdi-usb.patch \
8 "
9
10SRC_URI[sha256sum] = "1f934b076ed49eace203655ec249fc7861a6b8e87fe4aef732e47b6e485b6293"
11
12S = "${UNPACKDIR}/flashrom-v${PV}"
13
14inherit meson pkgconfig
15
16PACKAGECONFIG ??= "pci usb ftdi"
17PACKAGECONFIG[pci] = "-Dpciutils=true,-Dpciutils=false,pciutils"
18PACKAGECONFIG[usb] = "-Dusb=true,-Dusb=false,libusb"
19PACKAGECONFIG[ftdi] = "-Dftdi=true,-Dftdi=false,libftdi"
20
21EXTRA_OEMESON = "-Dbash_completion=disabled -Dtests=disabled"