|
@@ -60,6 +60,7 @@ if HAS_SCRYPT
|
|
|
cgminer_SOURCES += scrypt.c scrypt.h
|
|
cgminer_SOURCES += scrypt.c scrypt.h
|
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
|
|
+# Extra utilities required
|
|
|
if NEED_FPGAUTILS
|
|
if NEED_FPGAUTILS
|
|
|
cgminer_SOURCES += fpgautils.c fpgautils.h
|
|
cgminer_SOURCES += fpgautils.c fpgautils.h
|
|
|
endif
|
|
endif
|
|
@@ -68,6 +69,11 @@ if WANT_USBUTILS
|
|
|
cgminer_SOURCES += usbutils.c usbutils.h
|
|
cgminer_SOURCES += usbutils.c usbutils.h
|
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
|
|
+# Device drivers
|
|
|
|
|
+if HAS_AVALON
|
|
|
|
|
+cgminer_SOURCES += driver-avalon.c driver-avalon.h
|
|
|
|
|
+endif
|
|
|
|
|
+
|
|
|
if HAS_BFLSC
|
|
if HAS_BFLSC
|
|
|
cgminer_SOURCES += driver-bflsc.c driver-bflsc.h
|
|
cgminer_SOURCES += driver-bflsc.c driver-bflsc.h
|
|
|
endif
|
|
endif
|
|
@@ -76,12 +82,12 @@ if HAS_BITFORCE
|
|
|
cgminer_SOURCES += driver-bitforce.c
|
|
cgminer_SOURCES += driver-bitforce.c
|
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
-if HAS_ICARUS
|
|
|
|
|
-cgminer_SOURCES += driver-icarus.c
|
|
|
|
|
|
|
+if HAS_HASHFAST
|
|
|
|
|
+cgminer_SOURCES += driver-hashfast.c driver-hashfast.h
|
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
-if HAS_AVALON
|
|
|
|
|
-cgminer_SOURCES += driver-avalon.c driver-avalon.h
|
|
|
|
|
|
|
+if HAS_ICARUS
|
|
|
|
|
+cgminer_SOURCES += driver-icarus.c
|
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
if HAS_MODMINER
|
|
if HAS_MODMINER
|