Makefile (1053B)
1 # 2 # Copyright (C) 2016 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:=lpc21isp 11 PKG_VERSION:=197 12 PKG_RELEASE:=1 13 PKG_LICENSE:=LGPL-3.0+ 14 PKG_LICENSE_FILES:=README gpl.txt lgpl-3.0.txt 15 16 PKG_BUILD_DIR:=$(BUILD_DIR)/lpc21isp_$(PKG_VERSION) 17 PKG_SOURCE:=lpc21isp_$(PKG_VERSION).tar.gz 18 PKG_SOURCE_URL:=@SF/lpc21isp 19 PKG_MD5SUM:=0b286859a05a725647ecb1b3fe9ba606 20 PKG_CAT:=zcat 21 22 include $(INCLUDE_DIR)/package.mk 23 24 define Package/lpc21isp 25 SECTION:=base 26 CATEGORY:=Development 27 TITLE:=Command line ISP for NXP LPC family and ADUC70xx 28 URL:=http://lpc21isp.sourceforge.net/ 29 MAINTAINER:=Emil 'Skeen' Madsen <sovende@gmail.com> 30 endef 31 32 define Package/lpc21isp/description 33 Portable command line ISP (In-circuit Programmer) for NXP LPC family 34 and Analog Devices ADUC70xx. 35 endef 36 37 define Package/lpc21isp/install 38 $(INSTALL_DIR) $(1)/usr/sbin 39 $(INSTALL_BIN) $(PKG_BUILD_DIR)/lpc21isp $(1)/usr/sbin/ 40 endef 41 42 $(eval $(call BuildPackage,lpc21isp))