You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.0 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. #
  2. # Copyright (C) 2012-2014 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=stm32flash
  9. PKG_REV:=4d7ce45
  10. PKG_VERSION:=git~$(PKG_REV)
  11. PKG_RELEASE:=1
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  13. PKG_SOURCE_URL:=git://gitorious.org/stm32flash/stm32flash.git
  14. PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
  15. PKG_SOURCE_VERSION:=$(PKG_REV)
  16. PKG_SOURCE_PROTO:=git
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/stm32flash
  19. SECTION:=utils
  20. CATEGORY:=Utilities
  21. MAINTAINER:=Christian Pointner <equinox@spreadspace.org>
  22. URL:=http://code.google.com/p/stm32flash/
  23. TITLE:=Firmware flash tool for STM32's serial bootloader
  24. endef
  25. define Package/stm32flash/description
  26. This tool can be used to burn firmware images to STM32 ARM processors
  27. using the built-in serial bootloader.
  28. endef
  29. define Package/stm32flash/install
  30. $(INSTALL_DIR) $(1)/usr/bin
  31. $(INSTALL_BIN) $(PKG_BUILD_DIR)/stm32flash $(1)/usr/bin/
  32. endef
  33. $(eval $(call BuildPackage,stm32flash))