diff options
author | David Tardon <dtardon@redhat.com> | 2011-12-21 15:09:38 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-12-23 16:42:59 +0100 |
commit | c438af4d8a3eadb437278cae5912eaf1583271c9 (patch) | |
tree | d2a9609b6807f8a9e3477f57a949ec6be2607eeb /solenv/gbuild/CustomTarget.mk | |
parent | 07a87420ade12155b14be40e38a09a9ad0061719 (diff) |
eval at the calling side, like other gbuild classes
Diffstat (limited to 'solenv/gbuild/CustomTarget.mk')
-rw-r--r-- | solenv/gbuild/CustomTarget.mk | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/solenv/gbuild/CustomTarget.mk b/solenv/gbuild/CustomTarget.mk index 1e075af777d1..84c6f11cb206 100644 --- a/solenv/gbuild/CustomTarget.mk +++ b/solenv/gbuild/CustomTarget.mk @@ -56,20 +56,23 @@ endef define gb_CustomTarget_CustomTarget $(call gb_CustomTarget_get_target,$(1)) : \ $(call gb_CustomTarget__get_makefile,$(1)) + endef define gb_CustomTarget_add_dependency -$(eval $(call gb_CustomTarget_get_target,$(1)) : \ - $(SRCDIR)/$(2)) +$(call gb_CustomTarget_get_target,$(1)) : $(SRCDIR)/$(2) + endef define gb_CustomTarget_add_dependencies $(foreach dependency,$(2),$(call gb_CustomTarget_add_dependency,$(1),$(dependency))) + endef define gb_CustomTarget_add_outdir_dependency -$(eval $(call gb_CustomTarget_get_target,$(1)) : $(2)) +$(call gb_CustomTarget_get_target,$(1)) : $(2) + endef define gb_CustomTarget_add_outdir_dependencies |