package/nbd: add option for the trdump utility
[buildroot-gz.git] / package / flashrom / flashrom.mk
blob7e0fcf27b37021b90dd292a59d536b8ea342a410
1 ################################################################################
3 # flashrom
5 ################################################################################
7 FLASHROM_VERSION = 0.9.8
8 FLASHROM_SOURCE = flashrom-$(FLASHROM_VERSION).tar.bz2
9 FLASHROM_SITE = http://download.flashrom.org/releases
10 FLASHROM_DEPENDENCIES = pciutils libusb libusb-compat libftdi host-pkgconf
11 FLASHROM_LICENSE = GPLv2+
12 FLASHROM_LICENSE_FILES = COPYING
14 define FLASHROM_BUILD_CMDS
15 $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
16 endef
18 define FLASHROM_INSTALL_TARGET_CMDS
19 $(INSTALL) -m 0755 -D $(@D)/flashrom $(TARGET_DIR)/usr/sbin/flashrom
20 endef
22 $(eval $(generic-package))