Kaydet (Commit) ee22be5d authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

add gb_ExternalProject_use_external to deal with ExternalProject inter-dep

One may have multiple ExternalProject in a given module
and these ExternalProject may have dependencies among each others
This api allow to explicit such dependencies so that the
ExternalProjects in a given module are built in the right order

Change-Id: Ib8a1b9bdcad0dda08b6fe133113b01a80e02421c
üst d4474dd0
...@@ -103,4 +103,10 @@ $(foreach target,$(2),$(call gb_ExternalProject_register_target,$(1),$(target))) ...@@ -103,4 +103,10 @@ $(foreach target,$(2),$(call gb_ExternalProject_register_target,$(1),$(target)))
endef endef
# Make an external Project depend on another external project
define gb_ExternalProject_use_external
$(call gb_ExternalProject_get_preparation_target,$(1)) : $(call gb_ExternalProject_get_target,$(2))
endef
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment