source "package/dosfstools/Config.in"
source "package/e2fsprogs/Config.in"
source "package/eeprog/Config.in"
+source "package/flashrom/Config.in"
source "package/fconfig/Config.in"
source "package/fis/Config.in"
source "package/fmtools/Config.in"
--- /dev/null
+config BR2_PACKAGE_FLASHROM
+ bool "flashrom"
+ select BR2_PACKAGE_PCIUTILS
+ # dmidecode is only a runtime dependency
+ select BR2_PACKAGE_DMIDECODE
+ depends on BR2_i386 || BR2_x86_64
+ help
+ BIOS-updating utility.
+ Requires PCIUtils libraries.
+
+ http://flashrom.org/
--- /dev/null
+#############################################################
+#
+# flashrom
+#
+#############################################################
+FLASHROM_VERSION = 0.9.3
+FLASHROM_SOURCE = flashrom-$(FLASHROM_VERSION).tar.bz2
+FLASHROM_SITE = http://download.flashrom.org/releases
+
+FLASHROM_DEPENDENCIES = pciutils
+
+define FLASHROM_BUILD_CMDS
+ $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
+endef
+
+define FLASHROM_INSTALL_TARGET_CMDS
+ $(INSTALL) -m 0755 -D $(@D)/flashrom $(TARGET_DIR)/usr/sbin/flashrom
+endef
+
+$(eval $(call GENTARGETS))