diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-10-24 22:00:29 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-10-25 11:42:40 +0200 |
commit | 4bd53d1a8011988920a33d89b4d70b7d232bdbeb (patch) | |
tree | 5cb18fb77a2685401215e4e8f7626487f280bc2d /solenv/gbuild/ExternalProject.mk | |
parent | 8e602afd1e999e984e18d984a9986324831ac881 (diff) |
gbuild: add gb_ExternalProject_use_jars
Change-Id: Idd67548cb5f0e49e539459ed7f2fbd107d37c1b3
Diffstat (limited to 'solenv/gbuild/ExternalProject.mk')
-rw-r--r-- | solenv/gbuild/ExternalProject.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/solenv/gbuild/ExternalProject.mk b/solenv/gbuild/ExternalProject.mk index 9b5466ba86b2..2dd034aa2b0f 100644 --- a/solenv/gbuild/ExternalProject.mk +++ b/solenv/gbuild/ExternalProject.mk @@ -184,6 +184,15 @@ $(call gb_ExternalProject_get_preparation_target,$(1)) : \ endef +# Make an external project depend on a Jar file +# +# gb_ExternalProject_use_jars external jars +define gb_ExternalProject_use_jars +$(call gb_ExternalProject_get_preparation_target,$(1)) : \ + $(foreach jar,$(2),$(call gb_Jar_get_target,$(lib))) + +endef + # Run a target command # # This provides a wrapper that changes to the right directory, |