Set a dummy CM_PLATFORM_SDK_VERSION if it doesn't exist

* Avoids printing 2 build warnings on every single rebuild
  of anything when building TWRP inline

Change-Id: I5dd3623707c03af0dfe7366f1a77e83762e720b2
This commit is contained in:
Michael Bestas
2018-07-13 21:37:56 +03:00
parent 0bb5df9a34
commit 0cc2376153
+4
View File
@@ -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/