diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-09-27 02:30:56 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-09-27 02:31:37 -0500 |
commit | ee22be5d7f1e9077c139a9ca18cdb9e0ec75a766 (patch) | |
tree | 4c1c121825190f87355c15358215d5e3c7f4ce97 /solenv | |
parent | d4474dd0411d7de29ce42e181c97cbf032bf57ea (diff) |
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
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/ExternalProject.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/solenv/gbuild/ExternalProject.mk b/solenv/gbuild/ExternalProject.mk index 5731cbf65360..d35d238316d8 100644 --- a/solenv/gbuild/ExternalProject.mk +++ b/solenv/gbuild/ExternalProject.mk @@ -103,4 +103,10 @@ $(foreach target,$(2),$(call gb_ExternalProject_register_target,$(1),$(target))) 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: |