From 940d68af5324d3241a65301e31cb12900b49ac96 Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Thu, 13 Feb 2014 15:56:34 -0800 Subject: [PATCH] Don't check the existence for the 64-bit modules for 32-bit SDK build. Change-Id: I0d5d6ecc07332bef6854466fd98380eb12fc08fc --- core/main.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/main.mk b/core/main.mk index ee22a91733..d568f8a3b6 100644 --- a/core/main.mk +++ b/core/main.mk @@ -759,6 +759,10 @@ ifdef is_sdk_build $(foreach m, $(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_PACKAGES), \ $(if $(strip $(ALL_MODULES.$(m).INSTALLED)),,\ $(eval dangling_modules += $(m)))) + ifneq ($(TARGET_IS_64_BIT),true) + # We know those 64-bit modules don't exist in the 32-bit SDK build. + dangling_modules := $(filter-out %64,$(dangling_modules)) + endif ifneq ($(dangling_modules),) $(error Module names '$(dangling_modules)' in PRODUCT_PACKAGES has nothing to install!) endif