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>
22 lines
627 B
Makefile
22 lines
627 B
Makefile
################################################################################
|
|
#
|
|
# stm32flash
|
|
#
|
|
################################################################################
|
|
|
|
STM32FLASH_VERSION = 4ac0566f188f39eace0223d966d349cd2f2c5895
|
|
STM32FLASH_SITE = git://git.code.sf.net/p/stm32flash/code
|
|
STM32FLASH_LICENSE = GPL-2.0+
|
|
STM32FLASH_LICENSE_FILES = gpl-2.0.txt
|
|
|
|
define STM32FLASH_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
|
|
endef
|
|
|
|
define STM32FLASH_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) DESTDIR="$(TARGET_DIR)" PREFIX="/usr" \
|
|
-C $(@D) install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|