2016-02-22 19:59:15 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# afboot-stm32
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-12-12 13:37:51 +01:00
|
|
|
AFBOOT_STM32_VERSION = 3566acd582e5536fb60864281788a30f5527df2d
|
|
|
|
AFBOOT_STM32_SITE = $(call github,mcoquelin-stm32,afboot-stm32,$(AFBOOT_STM32_VERSION))
|
2018-12-08 15:18:54 +01:00
|
|
|
AFBOOT_STM32_INSTALL_IMAGES = YES
|
|
|
|
AFBOOT_STM32_INSTALL_TARGET = NO
|
2016-02-22 19:59:15 +01:00
|
|
|
|
|
|
|
define AFBOOT_STM32_BUILD_CMDS
|
2021-12-12 13:37:51 +01:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) CROSS_COMPILE=$(TARGET_CROSS) all \
|
|
|
|
KERNEL_ADDR=$(BR2_TARGET_AFBOOT_STM32_KERNEL_ADDR) \
|
|
|
|
DTB_ADDR=$(BR2_TARGET_AFBOOT_STM32_DTB_ADDR)
|
2016-02-22 19:59:15 +01:00
|
|
|
endef
|
|
|
|
|
2018-12-08 15:18:54 +01:00
|
|
|
define AFBOOT_STM32_INSTALL_IMAGES_CMDS
|
|
|
|
$(INSTALL) -m 0755 -t $(BINARIES_DIR) -D $(@D)/stm32*.bin
|
2016-02-22 19:59:15 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|