aboutsummaryrefslogtreecommitdiff
path: root/depends
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2023-01-06 09:22:13 +0000
committerfanquake <fanquake@gmail.com>2023-01-14 12:30:42 +0000
commit0cee156eee98686e04ac9910b8b7b5ba5b66ee2d (patch)
treea56cd5497cf6bb51cd9a6c6a7dedd6eb8cceba64 /depends
parent8915e4d9f5b7e360f70d2f67baa99cca451a10da (diff)
build: allow NO_BOOST=1 in depends
Diffstat (limited to 'depends')
-rw-r--r--depends/Makefile4
-rw-r--r--depends/packages/packages.mk4
2 files changed, 6 insertions, 2 deletions
diff --git a/depends/Makefile b/depends/Makefile
index 11fdd6dd53..e5e73c4208 100644
--- a/depends/Makefile
+++ b/depends/Makefile
@@ -32,6 +32,7 @@ SOURCES_PATH ?= $(BASEDIR)/sources
WORK_PATH = $(BASEDIR)/work
BASE_CACHE ?= $(BASEDIR)/built
SDK_PATH ?= $(BASEDIR)/SDKs
+NO_BOOST ?=
NO_QT ?=
NO_QR ?=
NO_BDB ?=
@@ -147,6 +148,7 @@ include packages/packages.mk
build_id:=$(shell env CC='$(build_CC)' C_STANDARD='$(C_STANDARD)' CXX='$(build_CXX)' CXX_STANDARD='$(CXX_STANDARD)' AR='$(build_AR)' RANLIB='$(build_RANLIB)' STRIP='$(build_STRIP)' SHA256SUM='$(build_SHA256SUM)' DEBUG='$(DEBUG)' LTO='$(LTO)' ./gen_id '$(BUILD_ID_SALT)' 'GUIX_ENVIRONMENT=$(realpath $(GUIX_ENVIRONMENT))')
$(host_arch)_$(host_os)_id:=$(shell env CC='$(host_CC)' C_STANDARD='$(C_STANDARD)' CXX='$(host_CXX)' CXX_STANDARD='$(CXX_STANDARD)' AR='$(host_AR)' RANLIB='$(host_RANLIB)' STRIP='$(host_STRIP)' SHA256SUM='$(build_SHA256SUM)' DEBUG='$(DEBUG)' LTO='$(LTO)' ./gen_id '$(HOST_ID_SALT)' 'GUIX_ENVIRONMENT=$(realpath $(GUIX_ENVIRONMENT))')
+boost_packages_$(NO_BOOST) = $(boost_packages)
qrencode_packages_$(NO_QR) = $(qrencode_$(host_os)_packages)
qt_packages_$(NO_QT) = $(qt_packages) $(qt_$(host_os)_packages) $(qt_$(host_arch)_$(host_os)_packages) $(qrencode_packages_)
@@ -162,7 +164,7 @@ zmq_packages_$(NO_ZMQ) = $(zmq_packages)
multiprocess_packages_$(MULTIPROCESS) = $(multiprocess_packages)
usdt_packages_$(NO_USDT) = $(usdt_$(host_os)_packages)
-packages += $($(host_arch)_$(host_os)_packages) $($(host_os)_packages) $(qt_packages_) $(wallet_packages_) $(upnp_packages_) $(natpmp_packages_) $(usdt_packages_)
+packages += $($(host_arch)_$(host_os)_packages) $($(host_os)_packages) $(boost_packages_) $(qt_packages_) $(wallet_packages_) $(upnp_packages_) $(natpmp_packages_) $(usdt_packages_)
native_packages += $($(host_arch)_$(host_os)_native_packages) $($(host_os)_native_packages)
ifneq ($(zmq_packages_),)
diff --git a/depends/packages/packages.mk b/depends/packages/packages.mk
index 998cc0221c..64e1fe4b0d 100644
--- a/depends/packages/packages.mk
+++ b/depends/packages/packages.mk
@@ -1,4 +1,6 @@
-packages:=boost libevent
+packages:= libevent
+
+boost_packages = boost
qrencode_linux_packages = qrencode
qrencode_android_packages = qrencode