|
@@ -62,6 +62,10 @@ config PACKAGE_$(PKG_NAME)_libusb
|
|
|
bool "Build with libusb support (X6500 & ZTEX)"
|
|
bool "Build with libusb support (X6500 & ZTEX)"
|
|
|
depends on PACKAGE_$(PKG_NAME)
|
|
depends on PACKAGE_$(PKG_NAME)
|
|
|
default y
|
|
default y
|
|
|
|
|
+config PACKAGE_$(PKG_NAME)_keccak
|
|
|
|
|
+ bool "Build with Keccak algorithm support"
|
|
|
|
|
+ depends on PACKAGE_$(PKG_NAME)
|
|
|
|
|
+ default n
|
|
|
config PACKAGE_$(PKG_NAME)_scrypt
|
|
config PACKAGE_$(PKG_NAME)_scrypt
|
|
|
bool "Build with scrypt algorithm support"
|
|
bool "Build with scrypt algorithm support"
|
|
|
depends on PACKAGE_$(PKG_NAME)
|
|
depends on PACKAGE_$(PKG_NAME)
|
|
@@ -90,6 +94,10 @@ ifndef CONFIG_PACKAGE_$(PKG_NAME)_libusb
|
|
|
CONFIGURE_ARGS += --without-libusb
|
|
CONFIGURE_ARGS += --without-libusb
|
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
|
|
+ifdef CONFIG_PACKAGE_$(PKG_NAME)_keccak
|
|
|
|
|
+CONFIGURE_ARGS += --enable-keccak
|
|
|
|
|
+endif
|
|
|
|
|
+
|
|
|
ifdef CONFIG_PACKAGE_$(PKG_NAME)_scrypt
|
|
ifdef CONFIG_PACKAGE_$(PKG_NAME)_scrypt
|
|
|
CONFIGURE_ARGS += --enable-scrypt
|
|
CONFIGURE_ARGS += --enable-scrypt
|
|
|
endif
|
|
endif
|