From 45df699a5e03676a33afdd84c47a2bcaa6072b82 Mon Sep 17 00:00:00 2001 From: Ricardo Cerqueira Date: Thu, 21 Jul 2011 16:31:57 +0100 Subject: [PATCH] cwm: Clarify on-screen labeling of recoveries Koush is the only authoritative source for clockworkmod recoveries, so lets try to reduce confusion as to what is "officially supported" and what isn't... Change-Id: Icb0f93530e69829ce69f2500b6f29df350099273 --- Android.mk | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Android.mk b/Android.mk index 1db7fda..336f75f 100644 --- a/Android.mk +++ b/Android.mk @@ -26,7 +26,14 @@ LOCAL_MODULE := recovery LOCAL_FORCE_STATIC_EXECUTABLE := true -RECOVERY_VERSION := ClockworkMod Recovery v4.0.1.4 +ifdef I_AM_KOUSH +RECOVERY_NAME := ClockworkMod Recovery +else +RECOVERY_NAME := CWM-based Recovery +endif + +RECOVERY_VERSION := $(RECOVERY_NAME) v4.0.1.4 + LOCAL_CFLAGS += -DRECOVERY_VERSION="$(RECOVERY_VERSION)" RECOVERY_API_VERSION := 2 LOCAL_CFLAGS += -DRECOVERY_API_VERSION=$(RECOVERY_API_VERSION)