mirror of
https://github.com/monero-project/monero.git
synced 2026-01-04 16:35:34 -05:00
depends: support building without wallet dependencies
This commit is contained in:
parent
bba6aa518b
commit
271010ec9d
2 changed files with 18 additions and 10 deletions
|
|
@ -8,6 +8,8 @@ SOURCES_PATH ?= $(BASEDIR)/sources
|
|||
BASE_CACHE ?= $(BASEDIR)/built
|
||||
FALLBACK_DOWNLOAD_PATH ?= https://downloads.getmonero.org/depends-sources
|
||||
|
||||
NO_WALLET ?=
|
||||
|
||||
BUILD = $(shell ./config.guess)
|
||||
HOST ?= $(BUILD)
|
||||
PATCHES_PATH = $(BASEDIR)/patches
|
||||
|
|
@ -110,8 +112,11 @@ build_id_string:=$(realpath $(GUIX_ENVIRONMENT))
|
|||
$(host_arch)_$(host_os)_id_string:=$(realpath $(GUIX_ENVIRONMENT))
|
||||
endif
|
||||
|
||||
packages += $($(host_arch)_$(host_os)_packages) $($(host_os)_packages)
|
||||
native_packages += $($(host_arch)_$(host_os)_native_packages) $($(host_os)_native_packages)
|
||||
wallet_packages_$(NO_WALLET) = $(wallet_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)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,20 +1,23 @@
|
|||
native_packages := native_protobuf
|
||||
packages := boost openssl zeromq unbound sodium protobuf
|
||||
native_packages :=
|
||||
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)
|
||||
packages += libusb
|
||||
wallet_packages += libusb
|
||||
endif
|
||||
|
||||
ifneq ($(host_os),freebsd)
|
||||
ifneq ($(host_os),android)
|
||||
packages += hidapi
|
||||
wallet_packages += hidapi
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(host_os),mingw32)
|
||||
packages += ncurses readline
|
||||
endif
|
||||
|
||||
linux_native_packages :=
|
||||
linux_packages :=
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue