From 8cc6bfdb38d99da748324ac8bbd32575cb0ea0fc Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Wed, 12 Mar 2025 21:55:05 +0530 Subject: flashrom: Update to v1.4.0 Flashrom Release note: https://www.flashrom.org/release_notes/v_1_4.html Signed-off-by: Patrick Rudolph Tested-by: Naresh Solanki Signed-off-by: Khem Raj --- meta-oe/recipes-bsp/flashrom/flashrom_1.4.0.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-oe/recipes-bsp/flashrom/flashrom_1.4.0.bb (limited to 'meta-oe/recipes-bsp/flashrom/flashrom_1.4.0.bb') diff --git a/meta-oe/recipes-bsp/flashrom/flashrom_1.4.0.bb b/meta-oe/recipes-bsp/flashrom/flashrom_1.4.0.bb new file mode 100644 index 0000000000..98447809cf --- /dev/null +++ b/meta-oe/recipes-bsp/flashrom/flashrom_1.4.0.bb @@ -0,0 +1,22 @@ +DESCRIPTION = "flashrom is a utility for identifying, reading, writing, verifying and erasing flash chips" +LICENSE = "GPL-2.0-or-later" +HOMEPAGE = "http://flashrom.org" + +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" +SRC_URI = "https://download.flashrom.org/releases/flashrom-v${PV}.tar.xz \ + file://0001-flashrom-Mark-RISCV-as-non-memory-mapped-I-O-archite.patch \ + file://0002-meson-Add-options-pciutils-ftdi-usb.patch \ + " + +SRC_URI[sha256sum] = "eb0eb3e61a57fd1926c66f08664cf04a96f92cee23b600cf563087c2178d70d8" + +S = "${WORKDIR}/flashrom-v${PV}" + +inherit meson pkgconfig + +PACKAGECONFIG ??= "pci usb ftdi" +PACKAGECONFIG[pci] = "-Dpciutils=true,-Dpciutils=false,pciutils" +PACKAGECONFIG[usb] = "-Dusb=true,-Dusb=false,libusb" +PACKAGECONFIG[ftdi] = "-Dftdi=true,-Dftdi=false,libftdi" + +EXTRA_OEMESON = "-Dbash_completion=disabled -Dtests=disabled" -- cgit v1.2.3-54-g00ecf