From c4f7ed869fec153b92bee00b191b5504efdd09d7 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Fri, 31 May 2013 23:02:33 +0200 Subject: [PATCH] RepositoryModule: un-break serialization of libraries The serialization was effectively disabled because the top-level Makefile does not invoke Makefile.gbuild with "all" target but with empty (default) target so MAKECMDS is empty. (regression from 96409470b19d32a2310086b089542b333686f4da) Change-Id: I919c6543a282945cbb36468ff0d4666718a7d8f6 --- RepositoryModule_host.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/RepositoryModule_host.mk b/RepositoryModule_host.mk index 93a2fe7cba0c..259ca29eb233 100644 --- a/RepositoryModule_host.mk +++ b/RepositoryModule_host.mk @@ -241,7 +241,9 @@ $(if $(strip $(1)),\ $(call repositorymodule_serialize,$(wordlist 2,$(words $(1)),$(1)))) endef -ifeq (all,$(filter all,$(MAKECMDGOALS))) +# do not serialize on a partial build as that may fail due to missing deps. +# the default goal is all (see Module.mk) +ifeq (,$(filter-out all,$(MAKECMDGOALS))) $(eval $(call repositorymodule_serialize,\ scfilt \ $(if $(filter SCRIPTING,$(BUILD_TYPE)),vbaobj) \