Root/xc3sprog/Makefile

Source at commit 7c906f01c8082dc44935a174e2b6ae9ead001851 created 6 years 5 months ago.
By Xiangfu, update libusb name
1include $(TOPDIR)/rules.mk
2
3PKG_NAME:=xc3sprog
4PKG_REV:=742
5PKG_VERSION:=r$(PKG_REV)
6PKG_RELEASE:=1
7
8PKG_SOURCE=$(PKG_NAME)-$(PKG_VERSION).tar.gz
9PKG_SOURCE_URL:=https://xc3sprog.svn.sourceforge.net/svnroot/xc3sprog/trunk
10PKG_SOURCE_PROTO:=svn
11PKG_SOURCE_VERSION=$(PKG_REV)
12PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
13
14include $(INCLUDE_DIR)/package.mk
15include $(INCLUDE_DIR)/cmake.mk
16
17define Package/xc3sprog
18    SECTION:=utils
19    CATEGORY:=Utilities
20    TITLE:=xc3sporg
21    URL:=http://xc3sprog.sourceforge.net/
22    DEPENDS:=+libusb-compat +libftdi
23endef
24
25define Package/xc3sprog/description
26xc3sprog is a suite of utilities for programming Xilinx FPGAs, CPLDs, and EEPROMs with the Xilinx Parallel Cable and other JTAG adapters under Linux.
27endef
28
29define Package/xc3sprog/install
30    $(INSTALL_DIR) $(1)/usr/bin
31
32    $(INSTALL_BIN) \
33        $(PKG_BUILD_DIR)/mplayer \
34        $(1)/usr/bin/xc3sprog
35endef
36
37$(eval $(call BuildPackage,xc3sprog))
38

Archive Download this file



interactive