diff options
Diffstat (limited to 'meta-openembedded/meta-oe/recipes-bsp/flashrom/flashrom_1.0.bb')
-rw-r--r-- | meta-openembedded/meta-oe/recipes-bsp/flashrom/flashrom_1.0.bb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-openembedded/meta-oe/recipes-bsp/flashrom/flashrom_1.0.bb b/meta-openembedded/meta-oe/recipes-bsp/flashrom/flashrom_1.0.bb new file mode 100644 index 0000000000..9eac876ba1 --- /dev/null +++ b/meta-openembedded/meta-oe/recipes-bsp/flashrom/flashrom_1.0.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "flashrom is a utility for identifying, reading, writing, verifying and erasing flash chips" +LICENSE = "GPLv2" +HOMEPAGE = "http://flashrom.org" + +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" +DEPENDS = "pciutils libusb libusb-compat" + +SRC_URI = "https://download.flashrom.org/releases/flashrom-${PV}.tar.bz2 \ + file://sst26.patch \ + file://0001-platform-Add-riscv-to-known-platforms.patch \ + " +SRC_URI[md5sum] = "42d999990c735d88653627cefcc13b9a" +SRC_URI[sha256sum] = "3702fa215ba5fb5af8e54c852d239899cfa1389194c1e51cb2a170c4dc9dee64" + +inherit pkgconfig + +do_install() { + oe_runmake PREFIX=${prefix} DESTDIR=${D} install +} |