Date:2012-02-10 04:13:32 (9 years 15 days ago)
Author:Xiangfu Liu
Commit:f65d64c209002f0baa8753750a377e43d60a8a9b
Message:cgminer: make it compile. only enable the bitforce FPGA support disable CPU and GPU miniing

Files: cgminer/Makefile (1 diff)

Change Details

cgminer/Makefile
1#
2# Copyright (C) 2012 Xiangfu Liu <xiangfu@sharism.cc>
3# bitcoin: 1BQvUsuQBYUyVuX4jjFk4dVBpWJVQEUHTZ
4#
5# This is free software, licensed under the GNU General Public License v2.
6# See /LICENSE for more information.
7#
8
9include $(TOPDIR)/rules.mk
10
11PKG_NAME:=cgminer
12PKG_VERSION:=20120210
13PKG_REV:=6e3ad7ad250b5d63be2472d9dc56325d143d7ace
14PKG_RELEASE:=1
15PKG_INSTALL:=1
16
17PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_REV).tar.gz
18PKG_SOURCE_URL:=git://github.com/ckolivas/cgminer.git
19PKG_SOURCE_PROTO:=git
20PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
21PKG_SOURCE_VERSION:=$(PKG_REV)
22
23PKG_FIXUP:=autoreconf
24
25include $(INCLUDE_DIR)/package.mk
26
27define Package/cgminer
28    MAINTAINER:="Xiangfu Liu" \
29        <xiangfu@sharism.cc> <1BQvUsuQBYUyVuX4jjFk4dVBpWJVQEUHTZ>
30    SECTION:=utils
31    CATEGORY:=Utilities
32    TITLE:=cgminer
33    URL:=https://github.com/ckolivas/cgminer
34    DEPENDS:=+libcurl
35endef
36
37define Package/cgminer/description
38endef
39
40CONFIGURE_ARGS += --enable-bitforce --disable-opencl --disable-adl
41TARGET_CFLAGS +=
42TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
43
44define Package/cgminer/install
45    $(INSTALL_DIR) $(1)/usr/bin/
46    $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/cgminer $(1)/usr/bin/
47endef
48
49$(eval $(call BuildPackage,cgminer))

Archive Download the corresponding diff file



interactive