Makefile (1120B)
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 8 include $(TOPDIR)/rules.mk 9 10 PKG_NAME:=stm32flash 11 PKG_VERSION:=0.4 12 PKG_RELEASE:=1 13 14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 15 PKG_SOURCE_URL:=http://releases.stm32flash.googlecode.com/git 16 PKG_MD5SUM:=ec9b5c8bae67f9a489786546d088bd14 17 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) 18 PKG_MAINTAINER:=Christian Pointner <equinox@spreadspace.org> 19 PKG_LICENSE:=GPL-2.0+ 20 PKG_LICENSE_FILES:=gpl-2.0.txt 21 include $(INCLUDE_DIR)/package.mk 22 23 define Package/stm32flash 24 SECTION:=utils 25 CATEGORY:=Utilities 26 SUBMENU:=Microcontroller programming 27 URL:=http://code.google.com/p/stm32flash/ 28 TITLE:=Firmware flash tool for STM32's serial bootloader 29 endef 30 31 define Package/stm32flash/description 32 This tool can be used to burn firmware images to STM32 ARM processors 33 using the built-in serial bootloader. 34 endef 35 36 define Package/stm32flash/install 37 $(INSTALL_DIR) $(1)/usr/bin 38 $(INSTALL_BIN) $(PKG_BUILD_DIR)/stm32flash $(1)/usr/bin/ 39 endef 40 41 $(eval $(call BuildPackage,stm32flash))