diff options
author | fanquake <fanquake@gmail.com> | 2023-01-06 09:22:39 +0000 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2023-01-14 12:31:22 +0000 |
commit | 7fdeb80441f451c8983632329594f4903af92729 (patch) | |
tree | 498d3526d372a5ef7d2a6466c43505d3682dae7a | |
parent | 0cee156eee98686e04ac9910b8b7b5ba5b66ee2d (diff) | |
download | bitcoin-7fdeb80441f451c8983632329594f4903af92729.tar.xz |
build: allow NO_LIBEVENT=1 in depends
-rw-r--r-- | depends/Makefile | 6 | ||||
-rw-r--r-- | depends/packages/packages.mk | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/depends/Makefile b/depends/Makefile index e5e73c4208..27bf804c6b 100644 --- a/depends/Makefile +++ b/depends/Makefile @@ -33,6 +33,7 @@ WORK_PATH = $(BASEDIR)/work BASE_CACHE ?= $(BASEDIR)/built SDK_PATH ?= $(BASEDIR)/SDKs NO_BOOST ?= +NO_LIBEVENT ?= NO_QT ?= NO_QR ?= NO_BDB ?= @@ -149,6 +150,9 @@ build_id:=$(shell env CC='$(build_CC)' C_STANDARD='$(C_STANDARD)' CXX='$(build_C $(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) + +libevent_packages_$(NO_LIBEVENT) = $(libevent_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_) @@ -164,7 +168,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) $(boost_packages_) $(qt_packages_) $(wallet_packages_) $(upnp_packages_) $(natpmp_packages_) $(usdt_packages_) +packages += $($(host_arch)_$(host_os)_packages) $($(host_os)_packages) $(boost_packages_) $(libevent_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 64e1fe4b0d..b3600b72d0 100644 --- a/depends/packages/packages.mk +++ b/depends/packages/packages.mk @@ -1,7 +1,9 @@ -packages:= libevent +packages:= boost_packages = boost +libevent_packages = libevent + qrencode_linux_packages = qrencode qrencode_android_packages = qrencode qrencode_darwin_packages = qrencode |