Browse Source

Provide stubs for compiling hashfast code into makefiles.

Con Kolivas 12 years ago
parent
commit
cdaaff191e
3 changed files with 10 additions and 4 deletions
  1. 10 4
      Makefile.am
  2. 0 0
      driver-hashfast.c
  3. 0 0
      driver-hashfast.h

+ 10 - 4
Makefile.am

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

+ 0 - 0
driver-hashfast.c


+ 0 - 0
driver-hashfast.h