summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-11-03 23:47:20 +0100
committerMichael Stahl <mstahl@redhat.com>2013-11-04 13:19:55 +0100
commit5b609aebc4cc36a2ed79535bbb04f88a780c9571 (patch)
treef11753de9ace2bf3688bd3bf9f97430002994773 /solenv
parent1a940ae2128cb680069a3926151a6dab7db3e735 (diff)
gbuild: fix gb_Extension_use_default_description
Passing a target local variable like $(LOCATION) to gb_Extension_add_file does not result in an actual dependency on the file. Change-Id: Ide77ab81f19877267056bf8e50d69c9cfedcda79
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/Extension.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/solenv/gbuild/Extension.mk b/solenv/gbuild/Extension.mk
index b4ac8a2dc6fa..8ec2fc4d7d6d 100644
--- a/solenv/gbuild/Extension.mk
+++ b/solenv/gbuild/Extension.mk
@@ -254,9 +254,9 @@ $(foreach lang,$(gb_Extension_ALL_LANGS), \
endef
-# Use the default description file
+# Use the given file as description-en-US.txt
define gb_Extension_use_default_description
-$(call gb_Extension_add_file,$(1),description-en-US.txt,$$(LOCATION)/description-en-US.txt)
+$(call gb_Extension_add_file,$(1),description-en-US.txt,$(SRCDIR)/$(2))
$(call gb_Extension_get_target,$(1)) : DESCRIPTION := $(true)
ifneq ($(strip $(gb_WITH_LANG)),)
$(call gb_Extension_get_target,$(1)) : FILES += $(foreach lang,$(gb_Extension_TRANS_LANGS),description-$(lang).txt)