kumquat-buildroot/package/stm32flash/stm32flash.mk
Fabrice Fontaine 6ff4fa08c4 package/stm32flash: use official tarball
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-12-20 23:18:48 +01:00

22 lines
602 B
Makefile

################################################################################
#
# stm32flash
#
################################################################################
STM32FLASH_VERSION = 0.6
STM32FLASH_SITE = http://downloads.sourceforge.net/project/stm32flash
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))