From ac301d835ff98c2e9bc6f9a55f9f7c06ff514d46 Mon Sep 17 00:00:00 2001 From: Steve Kondik Date: Mon, 7 Oct 2013 02:34:47 -0700 Subject: [PATCH] build: Don't run backuptool on GMS builds Change-Id: I5dde27f9d16b88049171db9805221d92e67f3e5d --- core/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/Makefile b/core/Makefile index 25079327f..c1f228b85 100644 --- a/core/Makefile +++ b/core/Makefile @@ -1880,11 +1880,15 @@ else OTA_FROM_TARGET_SCRIPT := $(TARGET_RELEASETOOL_OTA_FROM_TARGET_SCRIPT) endif +ifeq ($(WITH_GMS),true) + $(INTERNAL_OTA_PACKAGE_TARGET): backuptool := false +else ifneq ($(CM_BUILD),) $(INTERNAL_OTA_PACKAGE_TARGET): backuptool := true else $(INTERNAL_OTA_PACKAGE_TARGET): backuptool := false endif +endif ifeq ($(TARGET_OTA_ASSERT_DEVICE),) $(INTERNAL_OTA_PACKAGE_TARGET): override_device := auto -- 2.11.0