70c26b8c53
This is a _very_ small bootloader for STM32 platforms. At submission afboot-stm32 supports the following boards: stm32429i-eval stm32746g-eval stm32f429i-disco stm32f469i-disco Signed-off-by: Lee Jones <lee.jones@linaro.org> Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> [Thomas: fix commit title, add dependency on BR2_arm.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
19 lines
505 B
Makefile
19 lines
505 B
Makefile
################################################################################
|
|
#
|
|
# afboot-stm32
|
|
#
|
|
################################################################################
|
|
|
|
AFBOOT_STM32_VERSION = v0.1
|
|
AFBOOT_STM32_SITE = $(call github,mcoquelin-stm32,afboot-stm32,$(AFBOOT_STM32_VERSION))
|
|
|
|
define AFBOOT_STM32_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) all
|
|
endef
|
|
|
|
define AFBOOT_STM32_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -m 0755 $(@D)/stm32*.bin $(BINARIES_DIR)
|
|
endef
|
|
|
|
$(eval $(generic-package))
|