From 0e273d6fb8566e7f8df1be6f2f440fe357991878 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Mon, 25 Feb 2013 13:06:18 +0100 Subject: 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 --- solenv/gbuild/ComponentTarget.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'solenv/gbuild') 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,$@,$<,$*) -- cgit