c444a7e002
- passphrase logic: remove backward compatibility for 2.4.3, code cleanup. - fix LibUSB cmake for static builds on OSX - tests: all tests now work with passphrase logic enabled. Passphrase test added with different passphrase. no_passphrase test added, Trezor pin test added. Testing wallet opening with correct and incorrect passphrase. Trezor test chain revamp, cleanup. Smaller chain, chain file versioning added. - tests: Trezor tests support TEST_MINING_ENABLED, TEST_MINING_TIMEOUT env vars to change mining-related tests behaviour. - requires protobuf@21 on osx for now (c++14), building with unlinked protobuf: `CMAKE_PREFIX_PATH=$(find /opt/homebrew/Cellar/protobuf@21 -maxdepth 1 -type d -name "21.*" -print -quit) \ make debug-test-trezor -j8`
39 lines
1.0 KiB
Makefile
39 lines
1.0 KiB
Makefile
packages:=boost openssl zeromq libiconv expat unbound
|
|
|
|
# ccache is useless in gitian builds
|
|
ifneq ($(GITIAN),1)
|
|
native_packages := native_ccache
|
|
endif
|
|
|
|
hardware_packages := hidapi protobuf libusb
|
|
hardware_native_packages := native_protobuf
|
|
|
|
android_native_packages = android_ndk $(hardware_native_packages)
|
|
android_packages = ncurses readline sodium protobuf
|
|
|
|
darwin_native_packages = $(hardware_native_packages)
|
|
darwin_packages = ncurses readline sodium $(hardware_packages)
|
|
|
|
# not really native...
|
|
freebsd_native_packages = freebsd_base $(hardware_native_packages)
|
|
freebsd_packages = ncurses readline sodium protobuf libusb
|
|
|
|
linux_packages = eudev ncurses readline sodium $(hardware_packages)
|
|
linux_native_packages = $(hardware_native_packages)
|
|
|
|
ifeq ($(build_tests),ON)
|
|
packages += gtest
|
|
endif
|
|
|
|
ifneq ($(host_arch),riscv64)
|
|
linux_packages += unwind
|
|
endif
|
|
|
|
mingw32_packages = sodium $(hardware_packages)
|
|
mingw32_native_packages = $(hardware_native_packages)
|
|
|
|
ifneq ($(build_os),darwin)
|
|
darwin_native_packages += darwin_sdk native_clang native_cctools native_libtapi
|
|
endif
|
|
|