mirror of
https://github.com/wownero/wownero.git
synced 2026-10-25 10:28:33 +01:00
depends: support building without wallet dependencies
This commit is contained in:
@@ -11,6 +11,8 @@ FALLBACK_DOWNLOAD_PATH ?= https://downloads.getmonero.org/depends-sources
|
|||||||
C_STANDARD ?= c11
|
C_STANDARD ?= c11
|
||||||
CXX_STANDARD ?= c++17
|
CXX_STANDARD ?= c++17
|
||||||
|
|
||||||
|
NO_WALLET ?=
|
||||||
|
|
||||||
BUILD = $(shell ./config.guess)
|
BUILD = $(shell ./config.guess)
|
||||||
HOST ?= $(BUILD)
|
HOST ?= $(BUILD)
|
||||||
PATCHES_PATH = $(BASEDIR)/patches
|
PATCHES_PATH = $(BASEDIR)/patches
|
||||||
@@ -113,8 +115,11 @@ build_id_string:=$(realpath $(GUIX_ENVIRONMENT))
|
|||||||
$(host_arch)_$(host_os)_id_string:=$(realpath $(GUIX_ENVIRONMENT))
|
$(host_arch)_$(host_os)_id_string:=$(realpath $(GUIX_ENVIRONMENT))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
packages += $($(host_arch)_$(host_os)_packages) $($(host_os)_packages)
|
wallet_packages_$(NO_WALLET) = $(wallet_packages)
|
||||||
native_packages += $($(host_arch)_$(host_os)_native_packages) $($(host_os)_native_packages)
|
wallet_native_packages_$(NO_WALLET) = $(wallet_native_packages)
|
||||||
|
|
||||||
|
packages += $($(host_arch)_$(host_os)_packages) $($(host_os)_packages) $(wallet_packages_)
|
||||||
|
native_packages += $($(host_arch)_$(host_os)_native_packages) $($(host_os)_native_packages) $(wallet_native_packages_)
|
||||||
|
|
||||||
all_packages = $(packages) $(native_packages)
|
all_packages = $(packages) $(native_packages)
|
||||||
|
|
||||||
|
|||||||
@@ -1,20 +1,23 @@
|
|||||||
native_packages := native_protobuf
|
native_packages :=
|
||||||
packages := boost openssl zeromq unbound sodium protobuf
|
packages := boost openssl zeromq unbound sodium
|
||||||
|
|
||||||
|
ifneq ($(host_os),mingw32)
|
||||||
|
packages += ncurses readline
|
||||||
|
endif
|
||||||
|
|
||||||
|
wallet_native_packages := native_protobuf
|
||||||
|
wallet_packages = protobuf
|
||||||
|
|
||||||
ifneq ($(host_os),android)
|
ifneq ($(host_os),android)
|
||||||
packages += libusb
|
wallet_packages += libusb
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(host_os),freebsd)
|
ifneq ($(host_os),freebsd)
|
||||||
ifneq ($(host_os),android)
|
ifneq ($(host_os),android)
|
||||||
packages += hidapi
|
wallet_packages += hidapi
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(host_os),mingw32)
|
|
||||||
packages += ncurses readline
|
|
||||||
endif
|
|
||||||
|
|
||||||
linux_native_packages :=
|
linux_native_packages :=
|
||||||
linux_packages :=
|
linux_packages :=
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user