afboot-stm32.mk 608 B

1234567891011121314151617181920
  1. ################################################################################
  2. #
  3. # afboot-stm32
  4. #
  5. ################################################################################
  6. AFBOOT_STM32_VERSION = 0.2
  7. AFBOOT_STM32_SITE = $(call github,mcoquelin-stm32,afboot-stm32,v$(AFBOOT_STM32_VERSION))
  8. AFBOOT_STM32_INSTALL_IMAGES = YES
  9. AFBOOT_STM32_INSTALL_TARGET = NO
  10. define AFBOOT_STM32_BUILD_CMDS
  11. $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) CROSS_COMPILE=$(TARGET_CROSS) all
  12. endef
  13. define AFBOOT_STM32_INSTALL_IMAGES_CMDS
  14. $(INSTALL) -m 0755 -t $(BINARIES_DIR) -D $(@D)/stm32*.bin
  15. endef
  16. $(eval $(generic-package))