Joey Armstrong | b085c50 | 2023-01-17 13:56:24 -0500 | [diff] [blame] | 1 | # -*- makefile -*- |
| 2 | ## ----------------------------------------------------------------------- |
| 3 | ## ----------------------------------------------------------------------- |
| 4 | |
| 5 | repos += voltha-system-tests |
| 6 | repos += voltha-helm-charts |
| 7 | repos += pod-configs |
| 8 | repos += voltha-docs |
| 9 | |
| 10 | |
| 11 | |
| 12 | repo-deps = $(addprefix sandbox/,$(repos)) |
| 13 | |
| 14 | get-arg-one = $(lastword $(subst /,$(space),$(1))) |
| 15 | checkout-repo = ssh://gerrit.opencord.org:29418/$(call get-arg-one,$(1)).git |
| 16 | |
| 17 | $(repo-deps): |
| 18 | @mkdir -p $(dir $@) |
| 19 | @cd sandbox && $(GIT) clone $(call checkout-repo,$@) |
| 20 | |
| 21 | checkout-repos-all : $(repo-deps) |
| 22 | |
| 23 | .PHONY: sandbox |
| 24 | sandbox : $(repo-deps) |
| 25 | |
| 26 | # [EOF] |