OSDN Git Service

Disable recovery in PDK builds
authorMike Lockwood <lockwood@google.com>
Wed, 23 Oct 2013 15:00:42 +0000 (08:00 -0700)
committerColin Cross <ccross@android.com>
Tue, 3 Dec 2013 07:20:53 +0000 (23:20 -0800)
Change-Id: Ic6ee44cef37104c8d7facc28dfe45d0ef832ebd0

core/Makefile

index 2a5c574..ddd0b82 100644 (file)
@@ -623,6 +623,11 @@ endef
 # -----------------------------------------------------------------
 # Recovery image
 
+# Recovery is disabled in PDK builds
+ifeq ($(TARGET_BUILD_PDK),true)
+TARGET_NO_RECOVERY := true
+endif
+
 # If neither TARGET_NO_KERNEL nor TARGET_NO_RECOVERY are true
 ifeq (,$(filter true, $(TARGET_NO_KERNEL) $(TARGET_NO_RECOVERY)))