summaryrefslogtreecommitdiffstats
path: root/package/flashrom/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/flashrom/Config.in')
-rw-r--r--package/flashrom/Config.in11
1 files changed, 10 insertions, 1 deletions
diff --git a/package/flashrom/Config.in b/package/flashrom/Config.in
index 956500f0a4..17a041619e 100644
--- a/package/flashrom/Config.in
+++ b/package/flashrom/Config.in
@@ -1,11 +1,20 @@
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.
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
OpenPOWER on IntegriCloud