diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-02-25 13:06:18 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-02-25 14:27:06 +0100 |
commit | 0e273d6fb8566e7f8df1be6f2f440fe357991878 (patch) | |
tree | f93ee82f63586f72c63752312d9f70d95d36fbd2 /solenv/gbuild | |
parent | 93a974421208babdb4b2090f92acf4f0c14cc37d (diff) |
gbuild: ComponentTarget: rebuild if library names change
Stale component files result in failure to load libraries in incremental
builds; because rebuilding these is fast just depend on the 2 Repository
makefiles that define the library file names.
Change-Id: Ia72a0460d3bb8bceb0e17334415ca3dde0401c24
Diffstat (limited to 'solenv/gbuild')
-rw-r--r-- | solenv/gbuild/ComponentTarget.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/solenv/gbuild/ComponentTarget.mk b/solenv/gbuild/ComponentTarget.mk index 866b07d3038c..313b185776b9 100644 --- a/solenv/gbuild/ComponentTarget.mk +++ b/solenv/gbuild/ComponentTarget.mk @@ -51,8 +51,12 @@ $(call gb_ComponentTarget_get_clean_target,%) : $(call gb_ComponentTarget_get_target,$*) \ +# when a library is renamed, the component file needs to be rebuilt to match. +# hence simply depend on Repository{,Fixes}.mk since the command runs quickly. $(call gb_ComponentTarget_get_target,%) : \ $(call gb_ComponentTarget_get_source,%) \ + $(SRCDIR)/Repository.mk \ + $(SRCDIR)/RepositoryFixes.mk \ | $(call gb_ExternalExecutable_get_dependencies,xsltproc) $(call gb_ComponentTarget__command,$@,$<,$*) |