|
|
@@ -113,6 +113,7 @@ need_dynclock=no
|
|
|
need_fpgautils=no
|
|
|
need_lowlevel=no
|
|
|
need_lowl_hid=no
|
|
|
+need_lowl_spi=no
|
|
|
have_cygwin=false
|
|
|
have_win32=false
|
|
|
have_macho=false
|
|
|
@@ -406,6 +407,7 @@ if test "x$knc" = xyes; then
|
|
|
#endif
|
|
|
])
|
|
|
AC_DEFINE([USE_KNC], [1], [Defined to 1 if KnC support is wanted])
|
|
|
+ need_lowl_spi=yes
|
|
|
fi
|
|
|
AM_CONDITIONAL([USE_KNC], [test x$knc = xyes])
|
|
|
|
|
|
@@ -564,6 +566,7 @@ AC_ARG_ENABLE([bitfury],
|
|
|
)
|
|
|
if test "x$bitfury" = xyes; then
|
|
|
AC_DEFINE([USE_BITFURY], [1], [Defined to 1 if Bitfury support is wanted])
|
|
|
+ need_lowl_spi=yes
|
|
|
fi
|
|
|
AM_CONDITIONAL([HAS_BITFURY], [test x$bitfury = xyes])
|
|
|
|
|
|
@@ -719,6 +722,11 @@ fi
|
|
|
AM_CONDITIONAL([HAS_METABANK], [test x$metabank = xyes])
|
|
|
|
|
|
|
|
|
+lowllist="$lowllist spi/need_lowl_spi"
|
|
|
+if test x$need_lowl_spi = xyes; then
|
|
|
+ AC_DEFINE([NEED_BFG_LOWL_SPI], [1], [Defined to 1 if lowlevel SPI drivers are being used])
|
|
|
+fi
|
|
|
+
|
|
|
if test "x$x6500$ztex" = "xnono"; then
|
|
|
libusb=no
|
|
|
LIBUSB_LIBS=''
|
|
|
@@ -954,6 +962,7 @@ AM_CONDITIONAL([NEED_LIBBLKMAKER], [test x$with_system_libblkmaker != xyes])
|
|
|
AM_CONDITIONAL([NEED_DYNCLOCK], [test x$need_dynclock = xyes])
|
|
|
AM_CONDITIONAL([NEED_FPGAUTILS], [test x$need_fpgautils = xyes])
|
|
|
AM_CONDITIONAL([NEED_BFG_LOWL_HID], [test x$need_lowl_hid = xyes])
|
|
|
+AM_CONDITIONAL([NEED_BFG_LOWL_SPI], [test x$need_lowl_spi = xyes])
|
|
|
AM_CONDITIONAL([NEED_BFG_LOWLEVEL], [test x$need_lowlevel = xyes])
|
|
|
AM_CONDITIONAL([HAS_SCRYPT], [test x$scrypt = xyes])
|
|
|
AM_CONDITIONAL([HAVE_CURSES], [test x$curses = xyes])
|