summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2013-10-07 02:34:47 -0700
committerAdnan Begovic <adnan@cyngn.com>2015-10-06 16:26:36 -0700
commitbf10caf099e15e427c8900f953432283a6cd5746 (patch)
treeead2b87dd29fe663b8ab28bdeeb8cecdf7ae9a0f /core
parent34ae323d13cf0bba271f213f18bcd0cb3e681900 (diff)
downloadbuild-bf10caf099e15e427c8900f953432283a6cd5746.zip
build-bf10caf099e15e427c8900f953432283a6cd5746.tar.gz
build-bf10caf099e15e427c8900f953432283a6cd5746.tar.bz2
build: Don't run backuptool on GMS builds
Change-Id: I5dde27f9d16b88049171db9805221d92e67f3e5d
Diffstat (limited to 'core')
-rw-r--r--core/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/Makefile b/core/Makefile
index fa5fec7..0107053 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -1585,11 +1585,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