diff options
Diffstat (limited to 'core/main.mk')
-rw-r--r-- | core/main.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/main.mk b/core/main.mk index 6841b36..5f01238 100644 --- a/core/main.mk +++ b/core/main.mk @@ -664,6 +664,11 @@ ifdef is_sdk_build $(info Removing from sdk:)$(foreach d,$(target_gnu_MODULES),$(info : $(d))) modules_to_install := \ $(filter-out $(target_gnu_MODULES),$(modules_to_install)) + + # Ensure every module listed in PRODUCT_PACKAGES gets something installed + $(foreach m, $(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_PACKAGES), \ + $(if $(strip $(ALL_MODULES.$(m).INSTALLED)),,\ + $(error Module '$(m)' in PRODUCT_PACKAGES has nothing to install!))) endif |