Browse Source

openwrt: Provide scrypt option

Luke Dashjr 11 years ago
parent
commit
6340a36400
1 changed files with 8 additions and 0 deletions
  1. 8 0
      openwrt/bfgminer/Makefile

+ 8 - 0
openwrt/bfgminer/Makefile

@@ -62,6 +62,10 @@ config PACKAGE_$(PKG_NAME)_libusb
 	bool "Build with libusb support (X6500 & ZTEX)"
 	depends on PACKAGE_$(PKG_NAME)
 	default y
+config PACKAGE_$(PKG_NAME)_scrypt
+	bool "Build with scrypt algorithm support"
+	depends on PACKAGE_$(PKG_NAME)
+	default y
 endef
 
 ifndef CONFIG_PACKAGE_$(PKG_NAME)_curses
@@ -86,6 +90,10 @@ ifndef CONFIG_PACKAGE_$(PKG_NAME)_libusb
 CONFIGURE_ARGS += --disable-x6500 --disable-ztex
 endif
 
+ifdef CONFIG_PACKAGE_$(PKG_NAME)_scrypt
+CONFIGURE_ARGS += --enable-scrypt
+endif
+
 TARGET_CFLAGS += -std=gnu99
 TARGET_CFLAGS += -Iuthash-1.9.8/src