flashrom: Add flashrom recipe
authorMatt Ranostay <mranostay@gmail.com>
Thu, 8 Aug 2013 04:02:54 +0000 (04:02 +0000)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:32:22 +0000 (08:32 -0800)
Add flashrom recipe for managing recovery from bad UEFI updates.

(From meta-openembedded rev: 1571aedb37e9e3abbf5cd3641eed762b8038cc39)

Signed-off-by: Matt Ranostay <mranostay@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-extended/flashrom/flashrom_0.9.6.1.bb [new file with mode: 0644]

diff --git a/meta-openembedded/meta-oe/recipes-extended/flashrom/flashrom_0.9.6.1.bb b/meta-openembedded/meta-oe/recipes-extended/flashrom/flashrom_0.9.6.1.bb
new file mode 100644 (file)
index 0000000..a1f0b30
--- /dev/null
@@ -0,0 +1,15 @@
+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"
+
+SRC_URI = "http://download.flashrom.org/releases/flashrom-${PV}.tar.bz2"
+
+SRC_URI[md5sum] = "407e836c0a2b17ec76583cb6809f65e5"
+SRC_URI[sha256sum] = "6f7b588cce74c90b4fe9c9c794de105de76e0323442fb5770b1aeab81e9d560a"
+
+do_install() {
+    oe_runmake PREFIX=${prefix} DESTDIR=${D} install
+}