From cdaaff191e3b519dd42222d77ab784641b321721 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Thu, 19 Sep 2013 09:35:35 +1000 Subject: [PATCH] Provide stubs for compiling hashfast code into makefiles. --- Makefile.am | 14 ++++++++++---- driver-hashfast.c | 0 driver-hashfast.h | 0 3 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 driver-hashfast.c create mode 100644 driver-hashfast.h diff --git a/Makefile.am b/Makefile.am index 706ebed7..6097f141 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 00000000..e69de29b diff --git a/driver-hashfast.h b/driver-hashfast.h new file mode 100644 index 00000000..e69de29b