From 2fd81cf11e3ebc8550f6ceee9328c5cb021b9619 Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Fri, 10 Dec 2010 11:17:28 -0800 Subject: [PATCH] Default uninstallable modules' tag to optional Change-Id: I31faee42c807b3b6d7b85feea6c74860c89d45de --- core/base_rules.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/base_rules.mk b/core/base_rules.mk index 5bb6b77bb..3c11673e6 100644 --- a/core/base_rules.mk +++ b/core/base_rules.mk @@ -57,8 +57,12 @@ endif LOCAL_MODULE_TAGS := $(sort $(LOCAL_MODULE_TAGS)) ifeq (,$(LOCAL_MODULE_TAGS)) -# Modules without tags fall back to user (which is changed to user eng below) +ifeq (true,$(LOCAL_UNINSTALLABLE_MODULE)) +LOCAL_MODULE_TAGS := optional +else +# Installable modules without tags fall back to user (which is changed to user eng below) LOCAL_MODULE_TAGS := user +endif #$(warning default tags: $(lastword $(filter-out config/% out/%,$(MAKEFILE_LIST)))) endif