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
This commit is contained in:
@@ -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,$@,$<,$*)
|
||||
|
||||
|
Reference in New Issue
Block a user