aboutsummaryrefslogtreecommitdiff
path: root/package/stm32flash/stm32flash.mk
blob: 9bb05ab730be3ab9322e18302a03679c08fe6c71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
################################################################################
#
# stm32flash
#
################################################################################

STM32FLASH_VERSION = 1f934ae86babdeea47afdfae1d856d5fd5da6c53
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))