2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-06-02 08:13:58 +02:00
|
|
|
#
|
|
|
|
# flashrom
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2015-05-17 10:16:24 +02:00
|
|
|
FLASHROM_VERSION = 0.9.8
|
2013-12-11 14:23:46 +01:00
|
|
|
FLASHROM_SOURCE = flashrom-$(FLASHROM_VERSION).tar.bz2
|
|
|
|
FLASHROM_SITE = http://download.flashrom.org/releases
|
2015-09-30 19:41:27 +02:00
|
|
|
FLASHROM_DEPENDENCIES = pciutils libusb libusb-compat libftdi host-pkgconf
|
2017-03-30 15:43:32 +02:00
|
|
|
FLASHROM_LICENSE = GPL-2.0+
|
2013-12-11 14:23:46 +01:00
|
|
|
FLASHROM_LICENSE_FILES = COPYING
|
2012-06-02 08:13:58 +02:00
|
|
|
|
|
|
|
define FLASHROM_BUILD_CMDS
|
2015-09-30 19:41:27 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
|
2012-06-02 08:13:58 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define FLASHROM_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -m 0755 -D $(@D)/flashrom $(TARGET_DIR)/usr/sbin/flashrom
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|