summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorGreg Wallace <greg@gregtwallace.com>2015-12-29 06:55:26 +0100
committerEthan Yonker <dees_troy@teamw.in>2016-01-04 14:25:24 +0100
commitb39e6c6047e500fc38a92e6114fdd673d87042c1 (patch)
tree6b686a37fafdfcdf750b73ede07fd63aa354b32b /Android.mk
parentRemove no-op (diff)
downloadandroid_bootable_recovery-b39e6c6047e500fc38a92e6114fdd673d87042c1.tar
android_bootable_recovery-b39e6c6047e500fc38a92e6114fdd673d87042c1.tar.gz
android_bootable_recovery-b39e6c6047e500fc38a92e6114fdd673d87042c1.tar.bz2
android_bootable_recovery-b39e6c6047e500fc38a92e6114fdd673d87042c1.tar.lz
android_bootable_recovery-b39e6c6047e500fc38a92e6114fdd673d87042c1.tar.xz
android_bootable_recovery-b39e6c6047e500fc38a92e6114fdd673d87042c1.tar.zst
android_bootable_recovery-b39e6c6047e500fc38a92e6114fdd673d87042c1.zip
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 3e0c97b62..44149736b 100644
--- a/Android.mk
+++ b/Android.mk
@@ -413,11 +413,18 @@ 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)
+ LOCAL_ADDITIONAL_DEPENDENCIES += \
+ mount.ntfs \
+ fsck.ntfs \
+ mkfs.ntfs
+else
LOCAL_ADDITIONAL_DEPENDENCIES += \
ntfs-3g \
ntfsfix \
mkntfs
endif
+endif
ifeq ($(TARGET_USERIMAGES_USE_F2FS), true)
ifeq ($(shell test $(CM_PLATFORM_SDK_VERSION) -ge 3; echo $$?),0)
LOCAL_ADDITIONAL_DEPENDENCIES += \