diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2012-12-16 12:45:31 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2012-12-16 12:49:09 +0100 |
commit | 74b960ef3cd96f0f0e170234bc0947bfb51723f4 (patch) | |
tree | e8e61bf8e17e5be40d56bc909dace8e2743e358a /solenv | |
parent | 5402ff6cd96c8142b9a54f7cc7f3ed1e7adea2b9 (diff) |
add missing dep: gb_Package_use_custom_target
Change-Id: I888d9efe8bad905c108a6c824f2e2c7228fdd56d
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/Package_gdb.mk | 2 | ||||
-rw-r--r-- | solenv/gbuild/Package.mk | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/solenv/Package_gdb.mk b/solenv/Package_gdb.mk index a516a08d1c66..946bc0734c71 100644 --- a/solenv/Package_gdb.mk +++ b/solenv/Package_gdb.mk @@ -35,6 +35,6 @@ $(eval $(call gb_Package_add_files,solenv_gdb,lib,\ $(call gb_Library_get_runtime_filename,tl)-gdb.py \ )) -$(call gb_Package_get_preparation_target,solenv_gdb) : $(call gb_CustomTarget_get_target,solenv/gdb) +$(eval $(call gb_Package_use_custom_target,solenv_gdb,solenv/gdb)) # vim: set shiftwidth=4 tabstop=4 noexpandtab: diff --git a/solenv/gbuild/Package.mk b/solenv/gbuild/Package.mk index 31728bbfc0f2..2292faab99ae 100644 --- a/solenv/gbuild/Package.mk +++ b/solenv/gbuild/Package.mk @@ -115,6 +115,12 @@ $(foreach file,$(3),$(call gb_Package_add_file,$(1),$(2)/$(file),$(file))) endef +# Package files from custom target +define gb_Package_use_custom_target +$(call gb_Package_get_preparation_target,$(1)) :| $(call gb_CustomTarget_get_target,$(2)) + +endef + # Package files from unpacked tarball of an external project define gb_Package_use_unpacked $(call gb_Package_get_preparation_target,$(1)) :| $(call gb_UnpackedTarball_get_target,$(2)) |