2016-02-22 19:59:15 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# afboot-stm32
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
AFBOOT_STM32_VERSION = v0.1
|
|
|
|
AFBOOT_STM32_SITE = $(call github,mcoquelin-stm32,afboot-stm32,$(AFBOOT_STM32_VERSION))
|
|
|
|
|
|
|
|
define AFBOOT_STM32_BUILD_CMDS
|
2016-04-15 23:02:18 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) CROSS_COMPILE=$(TARGET_CROSS) all
|
2016-02-22 19:59:15 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define AFBOOT_STM32_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -m 0755 $(@D)/stm32*.bin $(BINARIES_DIR)
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|