diff options
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.bb | 21 |
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..9a8e81bae3 --- /dev/null +++ b/meta-oe/recipes-bsp/flashrom/flashrom_1.5.1.bb | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | DESCRIPTION = "flashrom is a utility for identifying, reading, writing, verifying and erasing flash chips" | ||
| 2 | LICENSE = "GPL-2.0-or-later" | ||
| 3 | HOMEPAGE = "http://flashrom.org" | ||
| 4 | |||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | ||
| 6 | SRC_URI = "https://download.flashrom.org/releases/flashrom-v${PV}.tar.xz \ | ||
| 7 | file://0002-meson-Add-options-pciutils-ftdi-usb.patch \ | ||
| 8 | " | ||
| 9 | |||
| 10 | SRC_URI[sha256sum] = "1f934b076ed49eace203655ec249fc7861a6b8e87fe4aef732e47b6e485b6293" | ||
| 11 | |||
| 12 | S = "${WORKDIR}/flashrom-v${PV}" | ||
| 13 | |||
| 14 | inherit meson pkgconfig | ||
| 15 | |||
| 16 | PACKAGECONFIG ??= "pci usb ftdi" | ||
| 17 | PACKAGECONFIG[pci] = "-Dpciutils=true,-Dpciutils=false,pciutils" | ||
| 18 | PACKAGECONFIG[usb] = "-Dusb=true,-Dusb=false,libusb" | ||
| 19 | PACKAGECONFIG[ftdi] = "-Dftdi=true,-Dftdi=false,libftdi" | ||
| 20 | |||
| 21 | EXTRA_OEMESON = "-Dbash_completion=disabled -Dtests=disabled" | ||
