summaryrefslogtreecommitdiffstats
path: root/prebuilt
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 /prebuilt
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 'prebuilt')
-rw-r--r--prebuilt/Android.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk
index 068367c83..df14bbdac 100644
--- a/prebuilt/Android.mk
+++ b/prebuilt/Android.mk
@@ -189,10 +189,18 @@ 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)
+ RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/mount.ntfs
+ RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/fsck.ntfs
+ RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/mkfs.ntfs
+ RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libntfs-3g.so
+ RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libfuse.so
+else
RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/ntfs-3g
RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/ntfsfix
RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/mkntfs
endif
+endif
TWRP_AUTOGEN := $(intermediates)/teamwin