mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-22 20:44:19 +00:00
BFL USB build changes
This commit is contained in:
parent
cbf6c71648
commit
040ec589fa
@ -82,6 +82,10 @@ if NEED_FPGAUTILS
|
||||
cgminer_SOURCES += fpgautils.c fpgautils.h
|
||||
endif
|
||||
|
||||
if NEED_USBUTILS_C
|
||||
cgminer_SOURCES += usbutils.c
|
||||
endif
|
||||
|
||||
if HAS_BITFORCE
|
||||
cgminer_SOURCES += driver-bitforce.c
|
||||
endif
|
||||
@ -91,7 +95,7 @@ cgminer_SOURCES += driver-icarus.c
|
||||
endif
|
||||
|
||||
if HAS_MODMINER
|
||||
cgminer_SOURCES += driver-modminer.c usbutils.c
|
||||
cgminer_SOURCES += driver-modminer.c
|
||||
bitstreamsdir = $(bindir)/bitstreams
|
||||
dist_bitstreams_DATA = bitstreams/*
|
||||
endif
|
||||
|
@ -273,6 +273,7 @@ fi
|
||||
|
||||
|
||||
AM_CONDITIONAL([NEED_FPGAUTILS], [test x$icarus$bitforce$modminer$ztex != xnononono])
|
||||
AM_CONDITIONAL([NEED_USBUTILS_C], [test x$bitforce$modminer != xnono])
|
||||
AM_CONDITIONAL([HAVE_CURSES], [test x$curses = xyes])
|
||||
AM_CONDITIONAL([WANT_JANSSON], [test x$request_jansson = xtrue])
|
||||
AM_CONDITIONAL([HAVE_WINDOWS], [test x$have_win32 = xtrue])
|
||||
@ -321,7 +322,7 @@ fi
|
||||
|
||||
AM_CONDITIONAL([HAS_YASM], [test x$has_yasm = xtrue])
|
||||
|
||||
if test "x$bitforce" != xno; then
|
||||
if test "x$icarus" != xno; then
|
||||
AC_ARG_WITH([libudev], [AC_HELP_STRING([--without-libudev], [Autodetect FPGAs using libudev (default enabled)])],
|
||||
[libudev=$withval],
|
||||
[libudev=auto]
|
||||
@ -343,7 +344,7 @@ AM_CONDITIONAL([HAVE_LIBUDEV], [test x$libudev != xno])
|
||||
|
||||
PKG_PROG_PKG_CONFIG()
|
||||
|
||||
if test "x$ztex$modminer" != xnono; then
|
||||
if test "x$ztex$modminer$bitforce" != xnonono; then
|
||||
case $target in
|
||||
*-*-freebsd*)
|
||||
LIBUSB_LIBS="-lusb"
|
||||
@ -508,7 +509,7 @@ else
|
||||
echo " Ztex.FPGAs...........: Disabled"
|
||||
fi
|
||||
|
||||
if test "x$bitforce" != xno; then
|
||||
if test "x$icarus" != xno; then
|
||||
echo " libudev.detection....: $libudev"
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user