Makefile 947 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=xc3sprog
  3. PKG_REV:=742
  4. PKG_VERSION:=r$(PKG_REV)
  5. PKG_RELEASE:=1
  6. PKG_SOURCE=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  7. PKG_SOURCE_URL:=https://svn.code.sf.net/p/xc3sprog/code/trunk
  8. PKG_SOURCE_PROTO:=svn
  9. PKG_SOURCE_VERSION=$(PKG_REV)
  10. PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
  11. include $(INCLUDE_DIR)/package.mk
  12. include $(INCLUDE_DIR)/cmake.mk
  13. define Package/xc3sprog
  14. SECTION:=utils
  15. CATEGORY:=Utilities
  16. TITLE:=xc3sporg
  17. URL:=http://xc3sprog.sourceforge.net/
  18. DEPENDS:=+libusb-compat +libftdi +libstdcpp
  19. endef
  20. define Package/xc3sprog/description
  21. xc3sprog is a suite of utilities for programming Xilinx FPGAs, CPLDs, and EEPROMs with the Xilinx Parallel Cable and other JTAG adapters under Linux.
  22. endef
  23. define Package/xc3sprog/install
  24. $(INSTALL_DIR) $(1)/usr/bin
  25. $(INSTALL_BIN) \
  26. $(PKG_INSTALL_DIR)/usr/bin/* \
  27. $(1)/usr/bin/
  28. $(CP) $(FILES_DIR)/* $(1)/usr/bin
  29. endef
  30. $(eval $(call BuildPackage,xc3sprog))