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)