diff options
author | David Tardon <dtardon@redhat.com> | 2012-02-19 14:16:51 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-03-06 10:23:26 +0100 |
commit | 6ed50e5159b7b02e0eeebaa1b583e0116d7cfd8a (patch) | |
tree | fb68cec03daa9095ca460cbff469196d892e8ce9 /solenv | |
parent | 81d7b8f821b90b6c3983106ef365c73ede20698b (diff) |
allow adding deps on packages
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/Extension.mk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/solenv/gbuild/Extension.mk b/solenv/gbuild/Extension.mk index ddf520ceed07..7b81fc3c4480 100644 --- a/solenv/gbuild/Extension.mk +++ b/solenv/gbuild/Extension.mk @@ -195,4 +195,14 @@ endif endef +define gb_Extension_add_package_dependency +$(call gb_Extension_get_target,$(1)) : $(call gb_Package_get_target,$(2)) + +endef + +define gb_Extension_add_package_dependencies +$(foreach package,$(2),$(call gb_Extension_add_package_dependency,$(1),$(package))) + +endef + # vim: set noet sw=4 ts=4: |