mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-09 19:37:27 -03:00
depends: Drop natpmp and associated option from depends
This commit is contained in:
parent
20a18bf6aa
commit
061c3e32a2
5 changed files with 1 additions and 33 deletions
|
@ -42,7 +42,6 @@ NO_WALLET ?=
|
||||||
NO_ZMQ ?=
|
NO_ZMQ ?=
|
||||||
NO_UPNP ?=
|
NO_UPNP ?=
|
||||||
NO_USDT ?=
|
NO_USDT ?=
|
||||||
NO_NATPMP ?=
|
|
||||||
MULTIPROCESS ?=
|
MULTIPROCESS ?=
|
||||||
LTO ?=
|
LTO ?=
|
||||||
NO_HARDEN ?=
|
NO_HARDEN ?=
|
||||||
|
@ -159,13 +158,12 @@ sqlite_packages_$(NO_SQLITE) = $(sqlite_packages)
|
||||||
wallet_packages_$(NO_WALLET) = $(bdb_packages_) $(sqlite_packages_)
|
wallet_packages_$(NO_WALLET) = $(bdb_packages_) $(sqlite_packages_)
|
||||||
|
|
||||||
upnp_packages_$(NO_UPNP) = $(upnp_packages)
|
upnp_packages_$(NO_UPNP) = $(upnp_packages)
|
||||||
natpmp_packages_$(NO_NATPMP) = $(natpmp_packages)
|
|
||||||
|
|
||||||
zmq_packages_$(NO_ZMQ) = $(zmq_packages)
|
zmq_packages_$(NO_ZMQ) = $(zmq_packages)
|
||||||
multiprocess_packages_$(MULTIPROCESS) = $(multiprocess_packages)
|
multiprocess_packages_$(MULTIPROCESS) = $(multiprocess_packages)
|
||||||
usdt_packages_$(NO_USDT) = $(usdt_$(host_os)_packages)
|
usdt_packages_$(NO_USDT) = $(usdt_$(host_os)_packages)
|
||||||
|
|
||||||
packages += $($(host_arch)_$(host_os)_packages) $($(host_os)_packages) $(boost_packages_) $(libevent_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_) $(usdt_packages_)
|
||||||
native_packages += $($(host_arch)_$(host_os)_native_packages) $($(host_os)_native_packages)
|
native_packages += $($(host_arch)_$(host_os)_native_packages) $($(host_os)_native_packages)
|
||||||
|
|
||||||
ifneq ($(zmq_packages_),)
|
ifneq ($(zmq_packages_),)
|
||||||
|
@ -233,7 +231,6 @@ $(host_prefix)/toolchain.cmake : toolchain.cmake.in $(host_prefix)/.stamp_$(fina
|
||||||
-e 's|@bdb_packages@|$(bdb_packages_)|' \
|
-e 's|@bdb_packages@|$(bdb_packages_)|' \
|
||||||
-e 's|@sqlite_packages@|$(sqlite_packages_)|' \
|
-e 's|@sqlite_packages@|$(sqlite_packages_)|' \
|
||||||
-e 's|@upnp_packages@|$(upnp_packages_)|' \
|
-e 's|@upnp_packages@|$(upnp_packages_)|' \
|
||||||
-e 's|@natpmp_packages@|$(natpmp_packages_)|' \
|
|
||||||
-e 's|@usdt_packages@|$(usdt_packages_)|' \
|
-e 's|@usdt_packages@|$(usdt_packages_)|' \
|
||||||
-e 's|@no_harden@|$(NO_HARDEN)|' \
|
-e 's|@no_harden@|$(NO_HARDEN)|' \
|
||||||
-e 's|@multiprocess@|$(MULTIPROCESS)|' \
|
-e 's|@multiprocess@|$(MULTIPROCESS)|' \
|
||||||
|
|
|
@ -113,7 +113,6 @@ The following can be set when running make: `make FOO=bar`
|
||||||
- `NO_BDB`: Don't download/build/cache BerkeleyDB
|
- `NO_BDB`: Don't download/build/cache BerkeleyDB
|
||||||
- `NO_SQLITE`: Don't download/build/cache SQLite
|
- `NO_SQLITE`: Don't download/build/cache SQLite
|
||||||
- `NO_UPNP`: Don't download/build/cache packages needed for enabling UPnP
|
- `NO_UPNP`: Don't download/build/cache packages needed for enabling UPnP
|
||||||
- `NO_NATPMP`: Don't download/build/cache packages needed for enabling NAT-PMP
|
|
||||||
- `NO_USDT`: Don't download/build/cache packages needed for enabling USDT tracepoints
|
- `NO_USDT`: Don't download/build/cache packages needed for enabling USDT tracepoints
|
||||||
- `MULTIPROCESS`: Build libmultiprocess (experimental, requires CMake)
|
- `MULTIPROCESS`: Build libmultiprocess (experimental, requires CMake)
|
||||||
- `DEBUG`: Disable some optimizations and enable more runtime checking
|
- `DEBUG`: Disable some optimizations and enable more runtime checking
|
||||||
|
|
|
@ -1,20 +0,0 @@
|
||||||
package=libnatpmp
|
|
||||||
$(package)_version=f2433bec24ca3d3f22a8a7840728a3ac177f94ba
|
|
||||||
$(package)_download_path=https://github.com/miniupnp/libnatpmp/archive
|
|
||||||
$(package)_file_name=$($(package)_version).tar.gz
|
|
||||||
$(package)_sha256_hash=ef84979950dfb3556705b63c9cd6c95501b75e887fba466234b187f3c9029669
|
|
||||||
$(package)_build_subdir=build
|
|
||||||
|
|
||||||
define $(package)_config_cmds
|
|
||||||
$($(package)_cmake) -S .. -B .
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_build_cmds
|
|
||||||
$(MAKE) natpmp
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_stage_cmds
|
|
||||||
mkdir -p $($(package)_staging_prefix_dir)/include $($(package)_staging_prefix_dir)/lib && \
|
|
||||||
install ../natpmp.h ../natpmp_declspec.h $($(package)_staging_prefix_dir)/include && \
|
|
||||||
install libnatpmp.a $($(package)_staging_prefix_dir)/lib
|
|
||||||
endef
|
|
|
@ -18,7 +18,6 @@ sqlite_packages=sqlite
|
||||||
zmq_packages=zeromq
|
zmq_packages=zeromq
|
||||||
|
|
||||||
upnp_packages=miniupnpc
|
upnp_packages=miniupnpc
|
||||||
natpmp_packages=libnatpmp
|
|
||||||
|
|
||||||
multiprocess_packages = libmultiprocess capnp
|
multiprocess_packages = libmultiprocess capnp
|
||||||
multiprocess_native_packages = native_libmultiprocess native_capnp
|
multiprocess_native_packages = native_libmultiprocess native_capnp
|
||||||
|
|
|
@ -146,13 +146,6 @@ else()
|
||||||
set(WITH_MINIUPNPC ON CACHE BOOL "")
|
set(WITH_MINIUPNPC ON CACHE BOOL "")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(natpmp_packages @natpmp_packages@)
|
|
||||||
if("${natpmp_packages}" STREQUAL "")
|
|
||||||
set(WITH_NATPMP OFF CACHE BOOL "")
|
|
||||||
else()
|
|
||||||
set(WITH_NATPMP ON CACHE BOOL "")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set(usdt_packages @usdt_packages@)
|
set(usdt_packages @usdt_packages@)
|
||||||
if("${usdt_packages}" STREQUAL "")
|
if("${usdt_packages}" STREQUAL "")
|
||||||
set(WITH_USDT OFF CACHE BOOL "")
|
set(WITH_USDT OFF CACHE BOOL "")
|
||||||
|
|
Loading…
Reference in a new issue