depends: add command to print variables

This commit is contained in:
tobtoht 2024-02-24 20:07:53 +01:00
parent c8214782fb
commit c94ca0f785
No known key found for this signature in database
GPG Key ID: E45B10DD027D2472

View File

@ -1,5 +1,9 @@
.NOTPARALLEL : .NOTPARALLEL :
# Pattern rule to print variables, e.g. make print-all_packages
print-%: FORCE
@echo '$($*)'
SOURCES_PATH ?= $(BASEDIR)/sources SOURCES_PATH ?= $(BASEDIR)/sources
BASE_CACHE ?= $(BASEDIR)/built BASE_CACHE ?= $(BASEDIR)/built
FALLBACK_DOWNLOAD_PATH ?= https://downloads.getmonero.org/depends-sources FALLBACK_DOWNLOAD_PATH ?= https://downloads.getmonero.org/depends-sources
@ -184,3 +188,4 @@ download: download-osx download-linux download-win download-freebsd download-and
$(foreach package,$(all_packages),$(eval $(call ext_add_stages,$(package)))) $(foreach package,$(all_packages),$(eval $(call ext_add_stages,$(package))))
.PHONY: install cached download-one download-osx download-linux download-win download-freebsd download-android download check-packages check-sources .PHONY: install cached download-one download-osx download-linux download-win download-freebsd download-android download check-packages check-sources
.PHONY: FORCE