Переглянути джерело

flashrom: Add flashrom recipe

Add flashrom recipe for managing recovery from bad UEFI updates.

Signed-off-by: Matt Ranostay <mranostay@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Matt Ranostay 10 роки тому
батько
коміт
1571aedb37
1 змінених файлів з 15 додано та 0 видалено
  1. 15 0
      meta-oe/recipes-extended/flashrom/flashrom_0.9.6.1.bb

+ 15 - 0
meta-oe/recipes-extended/flashrom/flashrom_0.9.6.1.bb

@@ -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
+}