Makefile 1.0 KB

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