summaryrefslogtreecommitdiffstats
path: root/package/flashrom
diff options
context:
space:
mode:
Diffstat (limited to 'package/flashrom')
-rw-r--r--package/flashrom/Config.in17
-rw-r--r--package/flashrom/flashrom.hash2
-rw-r--r--package/flashrom/flashrom.mk4
3 files changed, 19 insertions, 4 deletions
diff --git a/package/flashrom/Config.in b/package/flashrom/Config.in
index 956500f0a4..9420cc69df 100644
--- a/package/flashrom/Config.in
+++ b/package/flashrom/Config.in
@@ -1,11 +1,24 @@
config BR2_PACKAGE_FLASHROM
bool "flashrom"
select BR2_PACKAGE_PCIUTILS
+ select BR2_PACKAGE_LIBUSB
+ select BR2_PACKAGE_LIBUSB_COMPAT
+ select BR2_PACKAGE_LIBFTDI
# dmidecode is only a runtime dependency
select BR2_PACKAGE_DMIDECODE
depends on BR2_i386 || BR2_x86_64
+ depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
+ depends on BR2_ARCH_HAS_ATOMICS # libftdi
help
- BIOS-updating utility.
- Requires PCIUtils libraries.
+ flashrom is a utility for identifying, reading, writing,
+ verifying and erasing flash chips. It is designed to flash
+ BIOS/EFI/coreboot/firmware/optionROM images on mainboards,
+ network/graphics/storage controller cards, and various other
+ programmer devices.
http://flashrom.org/
+
+comment "flashrom needs a toolchain w/ threads"
+ depends on BR2_i386 || BR2_x86_64
+ depends on BR2_ARCH_HAS_ATOMICS
+ depends on !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/flashrom/flashrom.hash b/package/flashrom/flashrom.hash
new file mode 100644
index 0000000000..a2168699f3
--- /dev/null
+++ b/package/flashrom/flashrom.hash
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 13dc7c895e583111ecca370363a3527d237d178a134a94b20db7df177c05f934 flashrom-0.9.8.tar.bz2
diff --git a/package/flashrom/flashrom.mk b/package/flashrom/flashrom.mk
index 70bbe307be..525470aeff 100644
--- a/package/flashrom/flashrom.mk
+++ b/package/flashrom/flashrom.mk
@@ -4,10 +4,10 @@
#
################################################################################
-FLASHROM_VERSION = 0.9.7
+FLASHROM_VERSION = 0.9.8
FLASHROM_SOURCE = flashrom-$(FLASHROM_VERSION).tar.bz2
FLASHROM_SITE = http://download.flashrom.org/releases
-FLASHROM_DEPENDENCIES = pciutils
+FLASHROM_DEPENDENCIES = pciutils libusb libusb-compat libftdi
FLASHROM_LICENSE = GPLv2+
FLASHROM_LICENSE_FILES = COPYING
OpenPOWER on IntegriCloud