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.bz2 \ 7 file://0001-typecast-enum-conversions-explicitly.patch \ 8 file://meson-fixes.patch \ 9 file://0001-flashrom-Mark-RISCV-as-non-memory-mapped-I-O-archite.patch \ 10 file://0001-hwaccess-use-__asm__-as-is-done-elsewhere.patch \ 11 " 12SRC_URI[md5sum] = "7f8e4b87087eb12ecee0fcc5445b4956" 13SRC_URI[sha256sum] = "e1f8d95881f5a4365dfe58776ce821dfcee0f138f75d0f44f8a3cd032d9ea42b" 14 15S = "${WORKDIR}/flashrom-v${PV}" 16 17inherit meson pkgconfig 18 19PACKAGECONFIG ??= "pci usb ftdi" 20PACKAGECONFIG[pci] = "-Dpciutils=true,-Dpciutils=false,pciutils" 21PACKAGECONFIG[usb] = "-Dusb=true,-Dusb=false,libusb" 22PACKAGECONFIG[ftdi] = "-Dftdi=true,-Dftdi=false,libftdi" 23