af31c309e7
We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
23 lines
685 B
Makefile
23 lines
685 B
Makefile
################################################################################
|
|
#
|
|
# flashrom
|
|
#
|
|
################################################################################
|
|
|
|
FLASHROM_VERSION = 0.9.8
|
|
FLASHROM_SOURCE = flashrom-$(FLASHROM_VERSION).tar.bz2
|
|
FLASHROM_SITE = http://download.flashrom.org/releases
|
|
FLASHROM_DEPENDENCIES = pciutils libusb libusb-compat libftdi host-pkgconf
|
|
FLASHROM_LICENSE = GPL-2.0+
|
|
FLASHROM_LICENSE_FILES = COPYING
|
|
|
|
define FLASHROM_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(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))
|