Provide stubs for compiling hashfast code into makefiles.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
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