From 3d48d9c36b2d2cd696d3ee2656939e77ca5ba950 Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Wed, 26 Jun 2013 17:56:08 -0700 Subject: [PATCH] Allow to run checkbuild in sdk build. Bug: 9594464 Change-Id: Ia02e7d8fc157cdfe2e065ce9e42a3800457f89f6 (cherry picked from commit fcec57a1165dc78ca2630c017dd95bddce31e55a) --- core/main.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/main.mk b/core/main.mk index 3af430629..2f8b29383 100644 --- a/core/main.mk +++ b/core/main.mk @@ -357,7 +357,7 @@ ifdef is_sdk_build sdk_repo_goal := $(strip $(filter sdk_repo,$(MAKECMDGOALS))) MAKECMDGOALS := $(strip $(filter-out sdk_repo,$(MAKECMDGOALS))) -ifneq ($(words $(filter-out $(INTERNAL_MODIFIER_TARGETS),$(MAKECMDGOALS))),1) +ifneq ($(words $(filter-out $(INTERNAL_MODIFIER_TARGETS) checkbuild,$(MAKECMDGOALS))),1) $(error The 'sdk' target may not be specified with any other targets) endif -- 2.11.0