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.

47 lines
1.2 KiB

  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:=6
  11. PKG_LICENSE:=LGPL-3.0-or-later
  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_HASH:=9f7d80382e4b70bfa4200233466f29f73a36fea7dc604e32f05b9aa69ef591dc
  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. TARGET_CFLAGS += $(if $(CONFIG_USE_GLIBC),-lc -lgcc_eh)
  31. MAKE_FLAGS += \
  32. OSTYPE="Linux"
  33. define Package/lpc21isp/install
  34. $(INSTALL_DIR) $(1)/usr/sbin
  35. $(INSTALL_BIN) $(PKG_BUILD_DIR)/lpc21isp $(1)/usr/sbin/
  36. endef
  37. $(eval $(call BuildPackage,lpc21isp))