aboutsummaryrefslogtreecommitdiff
path: root/contrib/depends/funcs.mk
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-07-12 20:17:58 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-07-12 20:17:58 -0500
commit496bc96fe94a3946656b00d3975417cf5b3606c1 (patch)
tree8696eb2769c57725e6a5b6c4eec3740c38e5a505 /contrib/depends/funcs.mk
parentMerge pull request #5663 (diff)
parentAdd ncurses package for linux and darwin readline (diff)
downloadmonero-496bc96fe94a3946656b00d3975417cf5b3606c1.tar.xz
Merge pull request #5690
1dbfc81 Add debug targets to depends Makefile (TheCharlatan) cbbb24c Remove clutter in depends installed packages (TheCharlatan) 496cd46 Add ncurses package for linux and darwin readline (TheCharlatan)
Diffstat (limited to 'contrib/depends/funcs.mk')
-rw-r--r--contrib/depends/funcs.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/depends/funcs.mk b/contrib/depends/funcs.mk
index 15e404e42..469144361 100644
--- a/contrib/depends/funcs.mk
+++ b/contrib/depends/funcs.mk
@@ -213,6 +213,14 @@ $(1): | $($(1)_cached_checksum)
endef
+stages = fetched extracted preprocessed configured built staged postprocessed cached cached_checksum
+
+define ext_add_stages
+$(foreach stage,$(stages),
+ $(1)_$(stage): $($(1)_$(stage))
+ .PHONY: $(1)_$(stage))
+endef
+
# These functions create the build targets for each package. They must be
# broken down into small steps so that each part is done for all packages
# before moving on to the next step. Otherwise, a package's info