Commit cdaaff191e3b519dd42222d77ab784641b321721

Con Kolivas 2013-09-19T09:35:35

Provide stubs for compiling hashfast code into makefiles.

diff --git a/Makefile.am b/Makefile.am
index 706ebed..6097f14 100644
--- a/Makefile.am
+++ b/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
diff --git a/driver-hashfast.c b/driver-hashfast.c
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/driver-hashfast.c
diff --git a/driver-hashfast.h b/driver-hashfast.h
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/driver-hashfast.h