summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xAndroid.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 6eb1cbcd5..9ad3507d9 100755
--- a/Android.mk
+++ b/Android.mk
@@ -34,6 +34,10 @@ ifneq (,$(filter $(PLATFORM_SDK_VERSION), 21 22))
BOARD_SEPOLICY_UNION += twrp.te
endif
+ifeq ($(CM_PLATFORM_SDK_VERSION),)
+ CM_PLATFORM_SDK_VERSION := 0
+endif
+
include $(CLEAR_VARS)
TWRES_PATH := /twres/