diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-05-06 23:46:30 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-05-07 01:41:26 +0200 |
commit | 1a1f1fbdf035d731a2a26fa8eeeac1195181e9fe (patch) | |
tree | cdab50a2755f5f085500bc0bad0a6690c4280454 /solenv | |
parent | 10fc13c94890837ca6a8c1a47efe3b2dcba85471 (diff) |
gbuild: ExternalProject: remove second parameter again...
... now that everything is consistent.
Change-Id: I96c15159648815554280202eb1b6d274ead4e7b8
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/ExternalProject.mk | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/solenv/gbuild/ExternalProject.mk b/solenv/gbuild/ExternalProject.mk index e964610e6248..5031b52c5590 100644 --- a/solenv/gbuild/ExternalProject.mk +++ b/solenv/gbuild/ExternalProject.mk @@ -55,16 +55,15 @@ $(call gb_ExternalProject_get_clean_target,%) : $(call gb_ExternalProject_get_statedir,$*) \ ) -# Define a new external project, using an unpacked tarball +# Define a new external project, using an unpacked tarball of the same name # -# gb_ExternalProject_ExternalProject project unpacked +# gb_ExternalProject_ExternalProject project define gb_ExternalProject_ExternalProject -$(if $(2),,$(call gb_Output_error,gb_ExternalProject_ExternalProject: no unpacked parameter)) -$(call gb_ExternalProject_get_target,$(1)) : EXTERNAL_WORKDIR := $(call gb_UnpackedTarball_get_dir,$(2)) +$(call gb_ExternalProject_get_target,$(1)) : EXTERNAL_WORKDIR := $(call gb_UnpackedTarball_get_dir,$(1)) $(call gb_ExternalProject_get_preparation_target,$(1)) :| $(dir $(call gb_ExternalProject_get_target,$(1))).dir -$(call gb_ExternalProject_get_preparation_target,$(1)) : $(call gb_UnpackedTarball_get_target,$(2)) -$(call gb_ExternalProject_get_clean_target,$(1)) : $(call gb_UnpackedTarball_get_clean_target,$(2)) +$(call gb_ExternalProject_get_preparation_target,$(1)) : $(call gb_UnpackedTarball_get_target,$(1)) +$(call gb_ExternalProject_get_clean_target,$(1)) : $(call gb_UnpackedTarball_get_clean_target,$(1)) $(call gb_ExternalProject_get_target,$(1)) : $(call gb_ExternalProject_get_preparation_target,$(1)) $(call gb_ExternalProject_get_target,$(1)) :| $(dir $(call gb_ExternalProject_get_target,$(1))).dir |