Browse Source

Add basic defines for building for bitfury devices.

nfactor-troky
Con Kolivas 11 years ago
parent
commit
8862cf9f07
  1. 23
      configure.ac

23
configure.ac

@ -242,6 +242,17 @@ if test "x$bitforce" = xyes; then
fi fi
AM_CONDITIONAL([HAS_BITFORCE], [test x$bitforce = xyes]) AM_CONDITIONAL([HAS_BITFORCE], [test x$bitforce = xyes])
bitfury="no"
AC_ARG_ENABLE([bitfury],
[AC_HELP_STRING([--enable-bitfury],[Compile support for BitFury ASICs (default disabled)])],
[bitfury=$enableval]
)
if test "x$bitfury" = xyes; then
AC_DEFINE([USE_BITFURY], [1], [Defined to 1 if BitForce support is wanted])
fi
AM_CONDITIONAL([HAS_BITFURY], [test x$bitfury = xyes])
icarus="no" icarus="no"
AC_ARG_ENABLE([icarus], AC_ARG_ENABLE([icarus],
@ -310,7 +321,7 @@ else
]) ])
fi fi
if test x$avalon$bitforce$modminer$bflsc$icarus != xnonononono; then if test x$avalon$bitforce$bitfury$modminer$bflsc$icarus != xnononononono; then
want_usbutils=true want_usbutils=true
else else
want_usbutils=false want_usbutils=false
@ -482,14 +493,14 @@ if test "x$opencl" != xno; then
else else
echo " OpenCL...............: NOT FOUND. GPU mining support DISABLED" echo " OpenCL...............: NOT FOUND. GPU mining support DISABLED"
if test "x$bitforce$avalon$icarus$ztex$modminer$bflsc" = xnononononono; then if test "x$avalon$bitforce$bitfury$icarus$ztex$modminer$bflsc" = xnonononononono; then
AC_MSG_ERROR([No mining configured in]) AC_MSG_ERROR([No mining configured in])
fi fi
echo " scrypt...............: Disabled (needs OpenCL)" echo " scrypt...............: Disabled (needs OpenCL)"
fi fi
else else
echo " OpenCL...............: Detection overrided. GPU mining support DISABLED" echo " OpenCL...............: Detection overrided. GPU mining support DISABLED"
if test "x$bitforce$icarus$avalon$ztex$modminer$bflsc" = xnononononono; then if test "x$avalon$bitforce$bitfury$icarus$ztex$modminer$bflsc" = xnonononononono; then
AC_MSG_ERROR([No mining configured in]) AC_MSG_ERROR([No mining configured in])
fi fi
echo " scrypt...............: Disabled (needs OpenCL)" echo " scrypt...............: Disabled (needs OpenCL)"
@ -524,6 +535,12 @@ else
echo " BitForce.FPGAs.......: Disabled" echo " BitForce.FPGAs.......: Disabled"
fi fi
if test "x$bitfury" = xyes; then
echo " BitFury.ASICs........: Enabled"
else
echo " BitFury.ASICs........: Disabled"
fi
if test "x$icarus" = xyes; then if test "x$icarus" = xyes; then
echo " Icarus.FPGAs.........: Enabled" echo " Icarus.FPGAs.........: Enabled"
else else

Loading…
Cancel
Save