buildroot/package/flashrom/flashrom.mk
Gustavo Zacarias e809308c35 flashrom: add licensing info
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-12-11 22:26:03 +01:00

23 lines
624 B
Makefile

################################################################################
#
# flashrom
#
################################################################################
FLASHROM_VERSION = 0.9.6.1
FLASHROM_SOURCE = flashrom-$(FLASHROM_VERSION).tar.bz2
FLASHROM_SITE = http://download.flashrom.org/releases
FLASHROM_DEPENDENCIES = pciutils
FLASHROM_LICENSE = GPLv2+
FLASHROM_LICENSE_FILES = COPYING
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 $(generic-package))