summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2018-07-13 20:37:56 +0200
committerMichael Bestas <mkbestas@lineageos.org>2019-03-23 13:39:53 +0100
commit0cc2376153dd2563010dae3d327e73ab3c7235b8 (patch)
tree3f4a5b76471d25e73a3014367ce14ce972973daf
parentRemove leftover mounts.h~HEAD (diff)
downloadandroid_bootable_recovery-0cc2376153dd2563010dae3d327e73ab3c7235b8.tar
android_bootable_recovery-0cc2376153dd2563010dae3d327e73ab3c7235b8.tar.gz
android_bootable_recovery-0cc2376153dd2563010dae3d327e73ab3c7235b8.tar.bz2
android_bootable_recovery-0cc2376153dd2563010dae3d327e73ab3c7235b8.tar.lz
android_bootable_recovery-0cc2376153dd2563010dae3d327e73ab3c7235b8.tar.xz
android_bootable_recovery-0cc2376153dd2563010dae3d327e73ab3c7235b8.tar.zst
android_bootable_recovery-0cc2376153dd2563010dae3d327e73ab3c7235b8.zip
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/