afboot-stm32.mk 505 B

123456789101112131415161718
  1. ################################################################################
  2. #
  3. # afboot-stm32
  4. #
  5. ################################################################################
  6. AFBOOT_STM32_VERSION = v0.1
  7. AFBOOT_STM32_SITE = $(call github,mcoquelin-stm32,afboot-stm32,$(AFBOOT_STM32_VERSION))
  8. define AFBOOT_STM32_BUILD_CMDS
  9. $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) all
  10. endef
  11. define AFBOOT_STM32_INSTALL_TARGET_CMDS
  12. $(INSTALL) -m 0755 $(@D)/stm32*.bin $(BINARIES_DIR)
  13. endef
  14. $(eval $(generic-package))