No Description

Makefile 1.0KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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_VERSION:=0.3
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=http://releases.stm32flash.googlecode.com/git
  13. PKG_MD5SUM:=a806c6b10b186b7d06a7eab12c3bc880
  14. PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
  15. include $(INCLUDE_DIR)/package.mk
  16. define Package/stm32flash
  17. SECTION:=utils
  18. CATEGORY:=Utilities
  19. MAINTAINER:=Christian Pointner <equinox@spreadspace.org>
  20. URL:=http://code.google.com/p/stm32flash/
  21. TITLE:=Firmware flash tool for STM32's serial bootloader
  22. endef
  23. define Package/stm32flash/description
  24. This tool can be used to burn firmware images to STM32 ARM processors
  25. using the built-in serial bootloader.
  26. endef
  27. define Package/stm32flash/install
  28. $(INSTALL_DIR) $(1)/usr/bin
  29. $(INSTALL_BIN) $(PKG_BUILD_DIR)/stm32flash $(1)/usr/bin/
  30. endef
  31. $(eval $(call BuildPackage,stm32flash))