| config BR2_PACKAGE_FLASHROM |
| bool "flashrom" |
| depends on BR2_i386 || BR2_x86_64 |
| depends on BR2_TOOLCHAIN_HAS_THREADS # libusb |
| 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 |
| help |
| 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_TOOLCHAIN_HAS_THREADS |