2024-07-12 15:59:26 +00:00
|
|
|
|
|
2024-07-16 14:45:37 +00:00
|
|
|
|
define __mb-flow-clone-deps
|
2024-07-12 15:59:26 +00:00
|
|
|
|
.RECIPEPREFIX := $(MB_@RECIPE)
|
|
|
|
|
|
2024-07-18 09:18:45 +00:00
|
|
|
|
$(1)/%: $(2)/%
|
2024-07-16 14:45:37 +00:00
|
|
|
|
$(MB_@RECIPE)$$(call mb-make-call,mb-os-file-copy,$$<,$$@)
|
2024-07-12 15:59:26 +00:00
|
|
|
|
|
2024-07-18 20:26:15 +00:00
|
|
|
|
$(1)/@@process-deps::
|
|
|
|
|
$(MB_@RECIPE)$$(call mb-make-call,mb-os-echo-remark,$(MB_I18N_FLOW_CLONE_REPORT) $$(words $(4)))
|
2024-07-12 15:59:26 +00:00
|
|
|
|
|
|
|
|
|
.RECIPEPREFIX := $(MB_@RECIPEPREFIX)
|
|
|
|
|
endef
|
2024-07-18 09:18:45 +00:00
|
|
|
|
define __mb-flow-clone-deps-chain
|
|
|
|
|
.RECIPEPREFIX := $(MB_@RECIPE)
|
2024-07-18 09:28:57 +00:00
|
|
|
|
$(1): $(MB_@GRAPH_CHAIN)
|
|
|
|
|
MB_@GRAPH_CHAIN :$(MB_MAKE_EQUALS) $(1)
|
2024-07-18 09:18:45 +00:00
|
|
|
|
.RECIPEPREFIX := $(MB_@RECIPEPREFIX)
|
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
define mb-flow-clone-deps-proj-setup
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-make-check-arg3,$(0),$(1),$(2),$(3))
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-flow-proj-setup,$(1),$(2)/@build,$(1))
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-flow-proj-module-run,$(1),$(5))
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(if $(4),$(call mb-make-call,mb-flow-proj-prepare-packages,$(1),$(4)))
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(eval $(call mb-make-call,__mb-flow-clone-deps,$(1),$(2),$(3),$(call mb-make-call,mb-make-module-local-deps,$(1),$(3))))
|
2024-07-18 09:28:57 +00:00
|
|
|
|
$(MB_ᕽᕽᕽ )$(eval MB_@GRAPH_CHAIN :$(MB_MAKE_EQUALS) $(1)/@@prepare)
|
2024-07-18 09:18:45 +00:00
|
|
|
|
$(MB_ᕽᕽᕽ )$(foreach _dep,$(call mb-make-call,mb-make-module-local-deps,$(1),$(3)),$(eval $(call mb-make-call,__mb-flow-clone-deps-chain,$(_dep))))
|
2024-07-18 09:28:57 +00:00
|
|
|
|
$(MB_ᕽᕽᕽ )$(eval $(1)/@@prepare-deps:: $(MB_@GRAPH_CHAIN))
|
2024-07-18 09:18:45 +00:00
|
|
|
|
endef
|
|
|
|
|
$(call mb-make-call,mb-doc-function-flow,mb-flow-clone-deps-proj-setup,Inject flow of file copy toolchain module.,<bin-to> <bin-from> <deps> [packages] [machine])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
define mb-flow-clone-deps-proj-setup-orphan
|
2024-07-16 14:45:37 +00:00
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-make-check-arg3,$(0),$(1),$(2),$(3))
|
2024-07-18 09:18:45 +00:00
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-flow-proj-setup-orphan,$(1),$(2)/@build,$(1))
|
2024-07-16 14:45:37 +00:00
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-flow-proj-module-run,$(1),$(5))
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(if $(4),$(call mb-make-call,mb-flow-proj-prepare-packages,$(1),$(4)))
|
2024-07-18 09:18:45 +00:00
|
|
|
|
$(MB_ᕽᕽᕽ )$(eval $(call mb-make-call,__mb-flow-clone-deps,$(1),$(2),$(3),$(call mb-make-call,mb-make-module-local-deps,$(1),$(3))))
|
2024-07-18 09:28:57 +00:00
|
|
|
|
$(MB_ᕽᕽᕽ )$(eval MB_@GRAPH_CHAIN :$(MB_MAKE_EQUALS) $(1)/@@prepare)
|
2024-07-18 09:18:45 +00:00
|
|
|
|
$(MB_ᕽᕽᕽ )$(foreach _dep,$(call mb-make-call,mb-make-module-local-deps,$(1),$(3)),$(eval $(call mb-make-call,__mb-flow-clone-deps-chain,$(_dep))))
|
2024-07-18 09:28:57 +00:00
|
|
|
|
$(MB_ᕽᕽᕽ )$(eval $(1)/@@prepare-deps:: $(MB_@GRAPH_CHAIN))
|
2024-07-12 15:59:26 +00:00
|
|
|
|
endef
|
2024-07-18 09:18:45 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-function-flow,mb-flow-clone-deps-proj-setup-orphan,Inject flow of file copy toolchain module.,<bin-to> <bin-from> <deps> [packages] [machine])
|
2024-07-12 15:59:26 +00:00
|
|
|
|
|