summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Riordan <jriordan001@gmail.com>2016-05-12 15:06:57 +0200
committerDees Troy <dees_troy@teamw.in>2016-08-22 21:09:34 +0200
commit6c28ee835569c1ee804a8c43b8b2944a99e8a4df (patch)
treee951035f72f646bcd623d71aafbc18ec5024e5b9
parentGui: replace pow() function (diff)
downloadandroid_bootable_recovery-6c28ee835569c1ee804a8c43b8b2944a99e8a4df.tar
android_bootable_recovery-6c28ee835569c1ee804a8c43b8b2944a99e8a4df.tar.gz
android_bootable_recovery-6c28ee835569c1ee804a8c43b8b2944a99e8a4df.tar.bz2
android_bootable_recovery-6c28ee835569c1ee804a8c43b8b2944a99e8a4df.tar.lz
android_bootable_recovery-6c28ee835569c1ee804a8c43b8b2944a99e8a4df.tar.xz
android_bootable_recovery-6c28ee835569c1ee804a8c43b8b2944a99e8a4df.tar.zst
android_bootable_recovery-6c28ee835569c1ee804a8c43b8b2944a99e8a4df.zip
-rw-r--r--Android.mk2
-rw-r--r--prebuilt/Android.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index 326c24992..bb22a3ebc 100644
--- a/Android.mk
+++ b/Android.mk
@@ -428,7 +428,7 @@ endif
LOCAL_CFLAGS += -DTWRES=\"$(TWRES_PATH)\"
LOCAL_CFLAGS += -DTWHTCD_PATH=\"$(TWHTCD_PATH)\"
ifeq ($(TW_INCLUDE_NTFS_3G),true)
-ifeq ($(shell test $(CM_PLATFORM_SDK_VERSION) -ge 4; echo $$?),0)
+ifeq ($(shell test $(PLATFORM_SDK_VERSION) -gt 22; echo $$?),0)
LOCAL_ADDITIONAL_DEPENDENCIES += \
mount.ntfs \
fsck.ntfs \
diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk
index 3ec4c03a2..6e68d963d 100644
--- a/prebuilt/Android.mk
+++ b/prebuilt/Android.mk
@@ -202,7 +202,7 @@ ifneq ($(wildcard external/pcre/Android.mk),)
RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libpcre.so
endif
ifeq ($(TW_INCLUDE_NTFS_3G),true)
-ifeq ($(shell test $(CM_PLATFORM_SDK_VERSION) -ge 4; echo $$?),0)
+ifeq ($(shell test $(PLATFORM_SDK_VERSION) -gt 22; echo $$?),0)
RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/mount.ntfs
RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/fsck.ntfs
RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/mkfs.ntfs